getNodes method

List<Node> getNodes(
  1. List<Node> result
)

Gathers all nodes of the graph and stores them into the given array.

Implementation

List<Node> getNodes(List<Node> result ) {
	result.length = 0;
	result.addAll( _nodes.values );

	return result;
}