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, removeAll
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, remove, retainAll, size, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
outEdgeToNode
-
targetNode
-
-
Constructor Details
-
MultiEdgesConnecting
-
-
Method Details
-
iterator
-
contains
- Specified by:
contains
in interfaceCollection<E>
- Specified by:
contains
in interfaceSet<E>
- Overrides:
contains
in classAbstractCollection<E>
-