UnwrappedEdgeSet
class UnwrappedEdgeSet<NodeType : Node, EdgeType : Edge<NodeType>>(var set: EdgeSet<NodeType, EdgeType>) : UnwrappedEdgeCollection<NodeType, EdgeType> , MutableSet<NodeType>
An intelligent MutableSet wrapper around an EdgeSet which supports iterating, adding and removing Node elements.
Types
Link copied to clipboard
See UnwrappedEdgeList.Delegate, but as a MutableSet instead of MutableList.
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
operator fun <ThisType : Node> provideDelegate(thisRef: ThisType, prop: KProperty<*>): UnwrappedEdgeSet.Delegate<ThisType, NodeType, EdgeType>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard