summaryrefslogtreecommitdiffstats
path: root/libjava/java/util/AbstractSequentialList.java
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-29 17:28:09 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-29 17:28:09 +0000
commitb9e83dce4f3fdff1ee8748526c773cca8bad1bfb (patch)
tree20a303114d352cf8ac2c2a4bf36764aa0a06579a /libjava/java/util/AbstractSequentialList.java
parentb4f45d022de923c12fe88cd2726ed95b63990d38 (diff)
downloadppe42-gcc-b9e83dce4f3fdff1ee8748526c773cca8bad1bfb.tar.gz
ppe42-gcc-b9e83dce4f3fdff1ee8748526c773cca8bad1bfb.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86730 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util/AbstractSequentialList.java')
-rw-r--r--libjava/java/util/AbstractSequentialList.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/libjava/java/util/AbstractSequentialList.java b/libjava/java/util/AbstractSequentialList.java
index e74c75c4fdb..0e5d59fceec 100644
--- a/libjava/java/util/AbstractSequentialList.java
+++ b/libjava/java/util/AbstractSequentialList.java
@@ -105,7 +105,9 @@ public abstract class AbstractSequentialList extends AbstractList
* @throws ClassCastException if o cannot be added to this list due to its
* type
* @throws IllegalArgumentException if o cannot be added to this list for
- * some other reason
+ * some other reason.
+ * @throws NullPointerException if o is null and the list does not permit
+ * the addition of null values.
*/
public void add(int index, Object o)
{
@@ -137,6 +139,8 @@ public abstract class AbstractSequentialList extends AbstractList
* @throws IllegalArgumentException if some element of c cannot be added
* to this list for some other reason
* @throws NullPointerException if the specified collection is null
+ * @throws NullPointerException if an object, o, in c is null and the list
+ * does not permit the addition of null values.
* @see #add(int, Object)
*/
public boolean addAll(int index, Collection c)
@@ -214,6 +218,8 @@ public abstract class AbstractSequentialList extends AbstractList
* type
* @throws IllegalArgumentException if o cannot be added to this list for
* some other reason
+ * @throws NullPointerException if o is null and the list does not allow
+ * a value to be set to null.
*/
public Object set(int index, Object o)
{
OpenPOWER on IntegriCloud