diff options
author | Bryce McKinlay <bryce@albatross.co.nz> | 2001-02-15 06:43:00 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2001-02-15 06:43:00 +0000 |
commit | 06e3b913b388b770222e5467069c5d98872760a0 (patch) | |
tree | 946703e523387eb8a2f5650a54a1e9a6302d6de0 /libjava/java/util/Map.java | |
parent | a6845c56c4b7b6e6ca66c87530c2dcb4eebbc2c4 (diff) | |
download | gcc-06e3b913b388b770222e5467069c5d98872760a0.zip gcc-06e3b913b388b770222e5467069c5d98872760a0.tar.gz gcc-06e3b913b388b770222e5467069c5d98872760a0.tar.bz2 |
AbstractSequentialList.java: Synchronize with Classpath.
* 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.
From-SVN: r39708
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 c9d46df..b1d4326 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); + } } |