Package com.google.common.graph
Class MultiEdgesConnecting<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
com.google.common.graph.MultiEdgesConnecting<E>
- Type Parameters:
E- Edge parameter type
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Set<E>
A class to represent the set of edges connecting an (implicit) origin node to a target node.
The outEdgeToNode map allows this class to work on networks with parallel edges. See
EdgesConnecting for a class that is more efficient but forbids parallel edges.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, remove, retainAll, size, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
outEdgeToNode
-
targetNode
-
-
Constructor Details
-
MultiEdgesConnecting
-
-
Method Details
-
iterator
-
contains
- Specified by:
containsin interfaceCollection<E>- Specified by:
containsin interfaceSet<E>- Overrides:
containsin classAbstractCollection<E>
-