void rank ( MetatypeOcd ocd , List < String > rankedSuffixes ) { List < String > childAliasSuffixes = new LinkedList < String > ( ) ; for ( String suffix : rankedSuffixes ) if ( ! childAliasSuffixes . contains ( suffix ) ) { MetatypeOcd collision = unavailableSuffixes . put ( suffix , ocd ) ; if ( collision == null ) childAliasSuffixes . add ( suffix ) ; else { List < String > suffixesForCollisionOCD = rankings . get ( collision ) ; if ( suffixesForCollisionOCD != null ) suffixesForCollisionOCD . remove ( suffix ) ; } } rankings . put ( ocd , childAliasSuffixes ) ; }
Specifies rankings for child alias suffixes .