public void addExposedNodes(Collection<GraphNode> result,Collection<GraphNode> availNodes){
  for (  GraphNode candidate : availNodes) {
    if (false == hiddenNodes.containsKey(candidate)) {
      result.add(candidate);
    }
  }
}

public void addExposedNodes ( Collection < GraphNode > result , Collection < GraphNode > availNodes ) { for ( GraphNode candidate : availNodes ) { if ( false == hiddenNodes . containsKey ( candidate ) ) { result . add ( candidate ) ; } } }
add any exposed nodes in the available set to the result . a node is exposed if it is not in the set of hidden nodes .
