adds the given link to our collection , returning the corresponding bi-link creating one if needed necessary . concode_field_sep Map<LinkKey,B> map concode_field_sep int size concode_elem_sep B create concode_elem_sep Collection<B> biLinks
B function ( Link arg0 ) { LinkKey loc0 = TopoUtils . canonicalLinkKey ( checkNotNull ( arg0 ) ) ; B loc1 = map . get ( loc0 ) ; if ( loc1 == null ) { loc1 = create ( loc0 , arg0 ) ; map . put ( loc0 , loc1 ) ; } else { if ( ! loc1 . one ( ) . equals ( arg0 ) ) { loc1 . setOther ( arg0 ) ; } } return loc1 ; }