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:
Bryce McKinlay 2001-02-15 06:43:00 +00:00 committed by Bryce McKinlay
parent a6845c56c4
commit 06e3b913b3
9 changed files with 585 additions and 126 deletions

View file

@ -1,5 +1,5 @@
/* Set.java -- A collection that prohibits duplicates
Copyright (C) 1998, 2000 Free Software Foundation, Inc.
Copyright (C) 1998 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@ -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,7 +30,8 @@ executable file might be covered by the GNU General Public License. */
package java.util;
public interface Set extends Collection {
public interface Set extends Collection
{
boolean add(Object o);
boolean addAll(Collection c);
void clear();