T
- type of nodes in the graph.public class SimpleEnumerationBuilder<T> extends Object implements EnumerationBuilder<T>
Constructor and Description |
---|
SimpleEnumerationBuilder(Graph<T> graph)
Create a new EnumerationBuilder for the denoted graph
graph . |
Modifier and Type | Method and Description |
---|---|
List<T> |
buildEnumeration()
Builds an enumeration of the nodes in the graph.
|
List<T> |
getEnumeration()
Get the enumeration previously build without any computation overhead.
|
public List<T> buildEnumeration()
EnumerationBuilder
buildEnumeration
in interface EnumerationBuilder<T>
public List<T> getEnumeration()
EnumerationBuilder
getEnumeration
in interface EnumerationBuilder<T>
EnumerationBuilder.buildEnumeration()
before.