public Set < ? extends Processor < ? , ? > > getAllProcessors ( ) { IdentityHashMap < Processor < ? , ? > , Void > all = new IdentityHashMap <> ( ) ; all . put ( this . getProcessor ( ) , null ) ; for ( ProcessorGraphNode < ? , ? > dependency : this . dependencies ) { for ( Processor < ? , ? > p : dependency . getAllProcessors ( ) ) { all . put ( p , null ) ; } } return all . keySet ( ) ; }
Create a set containing all the processor at the current node and the entire subgraph .