private <H,L>void store(H hashed,L listed,Map<H,LinkedHashSet<L>> map){
  LinkedHashSet<L> list=map.get(hashed);
  if (list == null) {
    list=new LinkedHashSet<>(1);
    map.put(hashed,list);
  }
  if (!list.contains(listed)) {
    list.add(listed);
  }
}

private < H , L > void store ( H hashed , L listed , Map < H , LinkedHashSet < L > > map ) { LinkedHashSet < L > list = map . get ( hashed ) ; if ( list == null ) { list = new LinkedHashSet < > ( 1 ) ; map . put ( hashed , list ) ; } if ( ! list . contains ( listed ) ) { list . add ( listed ) ; } }
stores the listed object under the specified hash key in map . unlike a standard map , the listed object will not replace any object already at the appropriate map location , but rather will be appended to a list stored in that location .
