The nodeToOutEdge map means this class only works on networks without parallel edges.
See MultiEdgesConnecting for a class that works with parallel edges.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | contains(Object
element whose presence in this set is to be tested edge)Overrides java. Implements java. true if this set contains the specified element.
|
| private E | |
| public UnmodifiableIterator | iterator()
Implements abstract java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| nodeToOutEdge | back to summary |
|---|---|
| private final Map<?, E> nodeToOutEdge | |
| targetNode | back to summary |
|---|---|
| private final Object targetNode | |
| EdgesConnecting | back to summary |
|---|---|
| pack-priv EdgesConnecting(Map<?, E> nodeToEdgeMap, Object targetNode) | |
| contains | back to summary |
|---|---|
| public boolean contains(Object edge) Overrides java. Implements java. Doc from java. Returns | |
| getConnectingEdge | back to summary |
|---|---|
private E getConnectingEdge()
| |
| iterator | back to summary |
|---|---|
| public UnmodifiableIterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements in this set. The elements are returned in no particular order (unless this set is an instance of some class that provides a guarantee).
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this set (its cardinality). If this
set contains more than
| |