successors abstract method

  1. @override
Iterable<E> successors(
  1. E node
)
override

Returns each distinct node that is a direct successor of the given node.

The order of the nodes in the returned iterable is not guaranteed to be consistent between calls to this method, and the returned iterable may contain any number of nodes, including zero if node has no successors.

Implementation

@override
Iterable<E> successors(E node);