aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/util/Collection.java
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2004-08-29 17:28:09 +0000
committerAndreas Tobler <andreast@gcc.gnu.org>2004-08-29 19:28:09 +0200
commit477a21f7f9b31c687d45f1001dd93c90df52cf29 (patch)
tree20a303114d352cf8ac2c2a4bf36764aa0a06579a /libjava/java/util/Collection.java
parent294fbfc89faac46092334188d2bbe527880794a7 (diff)
downloadgcc-477a21f7f9b31c687d45f1001dd93c90df52cf29.zip
gcc-477a21f7f9b31c687d45f1001dd93c90df52cf29.tar.gz
gcc-477a21f7f9b31c687d45f1001dd93c90df52cf29.tar.bz2
AbstractCollection.java, [...]: Added additional exceptions to documentation...
2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org> * java/util/AbstractCollection.java, java/util/AbstractList.java, java/util/AbstractMap.java, java/util/AbstractSequentialList.java, java/util/ArrayList.java, java/util/Arrays.java, java/util/BitSet.java, java/util/Calendar.java, java/util/Collection.java, java/util/ListIterator.java, java/util/Map.java, java/util/SortedSet.java: Added additional exceptions to documentation, along with some additions and corrections. From-SVN: r86730
Diffstat (limited to 'libjava/java/util/Collection.java')
-rw-r--r--libjava/java/util/Collection.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/java/util/Collection.java b/libjava/java/util/Collection.java
index 6ec9c4e..be500b2 100644
--- a/libjava/java/util/Collection.java
+++ b/libjava/java/util/Collection.java
@@ -223,6 +223,7 @@ public interface Collection
* Remove all elements of a given collection from this collection. That is,
* remove every element e such that c.contains(e).
*
+ * @param c The collection of objects to be removed.
* @return true if this collection was modified as a result of this call.
* @throws UnsupportedOperationException if this collection does not
* support the removeAll operation.
@@ -238,6 +239,7 @@ public interface Collection
* Remove all elements of this collection that are not contained in a given
* collection. That is, remove every element e such that !c.contains(e).
*
+ * @param c The collection of objects to be retained.
* @return true if this collection was modified as a result of this call.
* @throws UnsupportedOperationException if this collection does not
* support the retainAll operation.