diff options
author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-15 06:43:00 +0000 |
---|---|---|
committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-15 06:43:00 +0000 |
commit | 9b991ff3f70efa04400b597de8badd2755cbc723 (patch) | |
tree | 946703e523387eb8a2f5650a54a1e9a6302d6de0 /libjava/java/util/Map.java | |
parent | 8af46c4d098f7f632e16e7762e1976ed76530f3d (diff) | |
download | ppe42-gcc-9b991ff3f70efa04400b597de8badd2755cbc723.tar.gz ppe42-gcc-9b991ff3f70efa04400b597de8badd2755cbc723.zip |
* java/util/AbstractSequentialList.java: Synchronize with Classpath.
* java/util/Collection.java: Likewise.
* java/util/Comparator.java: Likewise.
* java/util/Dictionary.java: Likewise.
* java/util/Iterator.java: Likewise.
* java/util/ListIterator.java: Likewise.
* java/util/Map.java: Likewise.
* java/util/Set.java: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39708 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util/Map.java')
-rw-r--r-- | libjava/java/util/Map.java | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/libjava/java/util/Map.java b/libjava/java/util/Map.java index c9d46dffb3e..b1d43269711 100644 --- a/libjava/java/util/Map.java +++ b/libjava/java/util/Map.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -30,28 +30,29 @@ executable file might be covered by the GNU General Public License. */ package java.util; -public interface Map +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 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 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); - } + public boolean equals(Object o); + } } |