public List < HashMap < IBond , IBond > > getTargetQueryBondMappings ( ) { if ( mappings == null ) return null ; List < HashMap < IBond , IBond > > bondMap = new ArrayList <> ( ) ; // query -> target so need to inverse the mapping // XXX: re-subsearching the query for ( Map < IBond , IBond > map : mappings . toBondMap ( ) ) { bondMap . add ( new HashMap <> ( HashBiMap . create ( map ) . inverse ( ) ) ) ; } return bondMap ; }
Return a list of HashMap s that allows one to get the query constraint for a given pharmacophore bond .