1 16 package java.util; 17 18 21 public interface Map { 22 23 26 public static interface Entry { 27 boolean equals(Object o); 28 29 Object getKey(); 30 31 Object getValue(); 32 33 int hashCode(); 34 35 Object setValue(Object value); 36 } 37 38 void clear(); 39 40 boolean containsKey(Object key); 41 42 boolean containsValue(Object value); 43 44 Set entrySet(); 45 46 boolean equals(Object o); 47 48 Object get(Object key); 49 50 int hashCode(); 51 52 boolean isEmpty(); 53 54 Set keySet(); 55 56 Object put(Object key, Object value); 57 58 void putAll(Map t); 59 60 Object remove(Object key); 61 62 int size(); 63 64 Collection values(); 65 } 66 | Popular Tags |