private void addIntoEquivalanceMap ( BioPAXElement bpe ) { int key = bpe . hashCode ( ) ; List < BioPAXElement > list = equivalenceMap . get ( key ) ; if ( list == null ) { list = new ArrayList < BioPAXElement > ( ) ; equivalenceMap . put ( key , list ) ; } list . add ( bpe ) ; }
Adds a BioPAX element into the equivalence map .