getNeighbors

abstract fun getNeighbors(): ListSet<? extends Node<T>>

Allows directly accessing every node in the neighborhood. A change of this List will be reflected in the neighborhood.

Return

the java.util.List of the neighbors