public Set<Processor<?, ?>> getAllProcessors() {
        IdentityHashMap<Processor<?, ?>, Void> all = new IdentityHashMap<>();
        for (ProcessorGraphNode<?, ?> root: this.roots) {
            for (Processor p: root.getAllProcessors()) {
                all.put(p, null);
            }
        }
        return all.keySet();
    }
public Set < Processor < ? , ? > > getAllProcessors ( ) { IdentityHashMap < Processor < ? , ? > , Void > all = new IdentityHashMap < > ( ) ; for ( ProcessorGraphNode < ? , ? > root : this . roots ) { for ( Processor p : root . getAllProcessors ( ) ) { all . put ( p , null ) ; } } return all . keySet ( ) ; }
Create a set containing all the processors in the graph.