N
- node classE
- edge classpublic interface Graph<N,E> extends IndefiniteGraph<N,E>, Iterable<N>
IndefiniteGraph
, but with the additional requirement
that the set of nodes be finite.Modifier and Type | Method and Description |
---|---|
default GraphDOTHelper<N,? super E> |
getGraphDOTHelper() |
Collection<? extends N> |
getNodes()
Retrieves an (unmodifiable) collection of the nodes in this graph.
|
default Iterator<N> |
iterator() |
default NodeIDs<N> |
nodeIDs() |
default int |
size()
Retrieves the number of nodes of this graph.
|
createDynamicNodeMapping, createStaticNodeMapping, getOutgoingEdges, getTarget
forEach, spliterator
default int size()
@Nonnull Collection<? extends N> getNodes()
default GraphDOTHelper<N,? super E> getGraphDOTHelper()
Copyright © 2015. All rights reserved.