Lines Matching defs:map
456 public static <K, V> boolean containsAllHelper(Map<K, V> map, Collection<?> collection) {
459 if (!map.containsKey(it.next())) {
466 public static <K, V> boolean removeAllHelper(Map<K, V> map, Collection<?> collection) {
467 int oldSize = map.size();
470 map.remove(it.next());
472 return oldSize != map.size();
475 public static <K, V> boolean retainAllHelper(Map<K, V> map, Collection<?> collection) {
476 int oldSize = map.size();
477 Iterator<K> it = map.keySet().iterator();
483 return oldSize != map.size();