public abstract class AbstractGraph<N,E> extends AbstractIndefiniteGraph<N,E> implements Graph<N,E>
Constructor and Description |
---|
AbstractGraph() |
Modifier and Type | Method and Description |
---|---|
Iterator<N> |
iterator() |
static <N,E> Iterator<N> |
iterator(Graph<N,E> $this)
Provides a realization for
Iterable.iterator() relying on
Graph.getNodes() . |
NodeIDs<N> |
nodeIDs() |
static <N,E> NodeIDs<N> |
nodeIDs(Graph<N,E> $this) |
int |
size()
Retrieves the number of nodes of this graph.
|
static <N,E> int |
size(Graph<N,E> $this)
Provides a realization for
Graph.size() relying on
Graph.getNodes() . |
createDynamicNodeMapping, createDynamicNodeMapping, createStaticNodeMapping, createStaticNodeMapping
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDynamicNodeMapping, createStaticNodeMapping, getOutgoingEdges, getTarget
forEach, spliterator
public AbstractGraph()
public static <N,E> Iterator<N> iterator(Graph<N,E> $this)
Iterable.iterator()
relying on
Graph.getNodes()
.Iterable.iterator()
public static <N,E> int size(Graph<N,E> $this)
Graph.size()
relying on
Graph.getNodes()
.Graph.size()
public int size()
Graph
Copyright © 2015. All Rights Reserved.