UnwrappedEdgeCollection
abstract class UnwrappedEdgeCollection<NodeType : Node, EdgeType : Edge<NodeType>>(var collection: EdgeCollection<NodeType, EdgeType>) : MutableCollection<NodeType>
An intelligent MutableCollection wrapper around an EdgeCollection which supports iterating, adding and removing Node elements. Basis for UnwrappedEdgeList and UnwrappedEdgeSet.
Inheritors
Properties
Link copied to clipboard
Link copied to clipboard
This computed property returns the common type in a Collection of Type objects. For example, if two types A
and B
both derive from the interface C`` then
C` would be returned.
Functions
Link copied to clipboard
Link copied to clipboard
This function returns the first node that matches the name on the supplied list of nodes.
Link copied to clipboard
Link copied to clipboard
operator fun <T : Node> Collection<T>?.get(predicate: (T) -> Boolean, modifier: SearchModifier = SearchModifier.NONE): T?
A shortcut to call firstOrNull using the []
syntax.
operator fun <T : Node> Collection<T>?.get(lookup: String, modifier: SearchModifier = SearchModifier.NONE): T?
A shortcut to call byNameOrNull using the []
syntax.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard