public Set < N > getChildren ( N n ) { Pair < HashSet < N > , HashSet < N > > p = nodes . get ( n ) ; if ( p == null ) return null ; return p . getOutgoing ( ) ; }
Returns the set of all children of the requested node or null if the node does not exist in the graph .