Lines Matching defs:Map
22 import java.util.Map;
71 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> {
87 public Map.Entry<K, V> next() {
108 "This container does not support retaining Map.Entry objects");
117 "This container does not support retaining Map.Entry objects");
126 "This container does not support retaining Map.Entry objects");
135 "This container does not support retaining Map.Entry objects");
137 if (!(o instanceof Map.Entry)) {
140 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o;
149 "This container does not support retaining Map.Entry objects");
163 final class EntrySet implements Set<Map.Entry<K, V>> {
165 public boolean add(Map.Entry<K, V> object) {
170 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) {
172 for (Map.Entry<K, V> entry : collection) {
185 if (!(o instanceof Map.Entry))
187 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o;
213 public Iterator<Map.Entry<K, V>> iterator() {
454 public static <K, V> boolean containsAllHelper(Map<K, V> map, Collection<?> collection) {
464 public static <K, V> boolean removeAllHelper(Map<K, V> map, Collection<?> collection) {
473 public static <K, V> boolean retainAllHelper(Map<K, V> map, Collection<?> collection) {
528 public Set<Map.Entry<K, V>> getEntrySet() {
553 protected abstract Map<K, V> colGetMap();