diff options
author | Brian Jones <cbj@gnu.org> | 1998-11-13 22:45:14 +0000 |
---|---|---|
committer | Brian Jones <cbj@gnu.org> | 1998-11-13 22:45:14 +0000 |
commit | e72078cc30fb3063c40b64c5218f79fa3a9bd18c (patch) | |
tree | 2e3738b5af4ac1ffdf2b1eb5183f944a27acfed9 /java/util/Map.java | |
parent | b7929e2d347da1018b2842c922415c5efb7c98f0 (diff) | |
download | classpath-e72078cc30fb3063c40b64c5218f79fa3a9bd18c.tar.gz |
entries(): is now entrySet() (JDK 1.2 RC1)
Diffstat (limited to 'java/util/Map.java')
-rw-r--r-- | java/util/Map.java | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/java/util/Map.java b/java/util/Map.java index a5d1a6f64..a4d626872 100644 --- a/java/util/Map.java +++ b/java/util/Map.java @@ -22,27 +22,28 @@ package java.util; -public interface Map { - void clear(); - boolean containsKey(Object key); - boolean containsValue(Object value); - Set entries(); - boolean equals(Object o); - Object get(Object key); - int hashCode(); - boolean isEmpty(); - Set keySet(); - Object put(Object key, Object value); - void putAll(Map m); - Object remove(Object o); - int size(); - Collection values(); - - public static interface Entry { - boolean equals(Object o); - Object getKey(); - Object getValue(); - int hashCode(); - Object setValue(Object value); - } +public interface Map +{ + public void clear(); + public boolean containsKey(Object key); + public boolean containsValue(Object value); + public Set entrySet(); + public boolean equals(Object o); + public Object get(Object key); + public Object put(Object key, Object value); + public int hashCode(); + public boolean isEmpty(); + public Set keySet(); + public void putAll(Map m); + public Object remove(Object o); + public int size(); + public Collection values(); + + public static interface Entry { + public Object getKey(); + public Object getValue(); + public Object setValue(Object value); + public int hashCode(); + public boolean equals(Object o); + } } |