void collectTypes(){
  for (  Resource type : knownTypes.keySet()) {
    collect(knownTypes.get(type));
  }
}

void collectTypes ( ) { for ( Resource type : knownTypes . keySet ( ) ) { collect ( knownTypes . get ( type ) ) ; } }
collect all the type knowledge into the output , if it represents new information .
