diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2004-08-29 17:28:09 +0000 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2004-08-29 19:28:09 +0200 |
commit | 477a21f7f9b31c687d45f1001dd93c90df52cf29 (patch) | |
tree | 20a303114d352cf8ac2c2a4bf36764aa0a06579a /libjava/java/util/BitSet.java | |
parent | 294fbfc89faac46092334188d2bbe527880794a7 (diff) | |
download | gcc-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/BitSet.java')
-rw-r--r-- | libjava/java/util/BitSet.java | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/libjava/java/util/BitSet.java b/libjava/java/util/BitSet.java index c56c0d1..f81ba15 100644 --- a/libjava/java/util/BitSet.java +++ b/libjava/java/util/BitSet.java @@ -133,7 +133,8 @@ public class BitSet implements Cloneable, Serializable * Performs the logical AND operation on this bit set and the * complement of the given <code>set</code>. This means it * selects every element in the first set, that isn't in the - * second set. The result is stored into this bit set. + * second set. The result is stored into this bit set and is + * effectively the set difference of the two. * * @param set the second bit set * @throws NullPointerException if set is null @@ -210,7 +211,8 @@ public class BitSet implements Cloneable, Serializable * * @param from the start range (inclusive) * @param to the end range (exclusive) - * @throws IndexOutOfBoundsException if from < 0 || from > to + * @throws IndexOutOfBoundsException if from < 0 || to < 0 || + * from > to * @since 1.4 */ public void clear(int from, int to) @@ -304,7 +306,8 @@ public class BitSet implements Cloneable, Serializable * * @param from the low index (inclusive) * @param to the high index (exclusive) - * @throws IndexOutOfBoundsException if from > to || from < 0 + * @throws IndexOutOfBoundsException if from > to || from < 0 || + * to < 0 * @since 1.4 */ public void flip(int from, int to) @@ -352,7 +355,8 @@ public class BitSet implements Cloneable, Serializable * * @param from the low index (inclusive) * @param to the high index (exclusive) - * @throws IndexOutOfBoundsException if from > to || from < 0 + * @throws IndexOutOfBoundsException if from > to || from < 0 || + * to < 0 * @since 1.4 */ public BitSet get(int from, int to) @@ -618,7 +622,8 @@ public class BitSet implements Cloneable, Serializable * * @param from the start range (inclusive) * @param to the end range (exclusive) - * @throws IndexOutOfBoundsException if from < 0 || from > to + * @throws IndexOutOfBoundsException if from < 0 || from > to || + * to < 0 * @since 1.4 */ public void set(int from, int to) @@ -649,7 +654,8 @@ public class BitSet implements Cloneable, Serializable * @param from the start range (inclusive) * @param to the end range (exclusive) * @param value the value to set it to - * @throws IndexOutOfBoundsException if from < 0 || from > to + * @throws IndexOutOfBoundsException if from < 0 || from > to || + * to < 0 * @since 1.4 */ public void set(int from, int to, boolean value) |