diff options
author | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-29 17:28:09 +0000 |
---|---|---|
committer | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-29 17:28:09 +0000 |
commit | b9e83dce4f3fdff1ee8748526c773cca8bad1bfb (patch) | |
tree | 20a303114d352cf8ac2c2a4bf36764aa0a06579a /libjava/java/util/BitSet.java | |
parent | b4f45d022de923c12fe88cd2726ed95b63990d38 (diff) | |
download | gcc-b9e83dce4f3fdff1ee8748526c773cca8bad1bfb.tar.gz |
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/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 c56c0d18c7f..f81ba1506ed 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) |