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
This commit is contained in:
parent
a6845c56c4
commit
06e3b913b3
9 changed files with 585 additions and 126 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue