Lines Matching defs:Map
22 import java.util.Map;
72 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> {
88 public Map.Entry<K, V> next() {
110 "This container does not support retaining Map.Entry objects");
119 "This container does not support retaining Map.Entry objects");
128 "This container does not support retaining Map.Entry objects");
137 "This container does not support retaining Map.Entry objects");
139 if (!(o instanceof Map.Entry)) {
142 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o;
151 "This container does not support retaining Map.Entry objects");
165 final class EntrySet implements Set<Map.Entry<K, V>> {
167 public boolean add(Map.Entry<K, V> object) {
172 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) {
174 for (Map.Entry<K, V> entry : collection) {
187 if (!(o instanceof Map.Entry))
189 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o;
215 public Iterator<Map.Entry<K, V>> iterator() {
456 public static <K, V> boolean containsAllHelper(Map<K, V> map, Collection<?> collection) {
466 public static <K, V> boolean removeAllHelper(Map<K, V> map, Collection<?> collection) {
475 public static <K, V> boolean retainAllHelper(Map<K, V> map, Collection<?> collection) {
530 public Set<Map.Entry<K, V>> getEntrySet() {
555 protected abstract Map<K, V> colGetMap();