public interface EdgeListFactory
List implementation used internally by the
graph to maintain lists of edges. This provides control over performance
tradeoffs between memory and CPU usage.| Modifier and Type | Method and Description |
|---|---|
java.util.List |
createEdgeList(java.lang.Object vertex)
Create a new edge list for a particular vertex.
|
java.util.List createEdgeList(java.lang.Object vertex)
vertex - the vertex for which the edge list is being created;
sophisticated factories may be able to use this information to
choose an optimal list representation (e.g. ArrayList for a
vertex expected to have low degree, and TreeList for a vertex
expected to have high degree)