| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv void | difference(IntSet dest, IntSet compared)
Adds to the set "dest" values that in this set but are not in the set "compared". |
| public boolean | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| pack-priv int | |
| private int | |
| public int | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv int | |
| public String |
| IntSet | back to summary |
|---|---|
| pack-priv IntSet() | |
| addInt | back to summary |
|---|---|
| pack-priv void addInt(int value) | |
| clear | back to summary |
|---|---|
| pack-priv void clear() | |
| containsInt | back to summary |
|---|---|
| pack-priv boolean containsInt(int value) | |
| copyTo | back to summary |
|---|---|
| pack-priv void copyTo(IntSet target) Copies the contents of this set to the target set. | |
| difference | back to summary |
|---|---|
| pack-priv void difference(IntSet dest, IntSet compared) Adds to the set "dest" values that in this set but are not in the set "compared". | |
| equals | back to summary |
|---|---|
| public boolean equals(IntSet set) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| get | back to summary |
|---|---|
| pack-priv int get(int index) | |
| getIndex | back to summary |
|---|---|
| private int getIndex(int value) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isEmpty | back to summary |
|---|---|
| pack-priv boolean isEmpty() | |
| removeInt | back to summary |
|---|---|
| pack-priv void removeInt(int value) | |
| size | back to summary |
|---|---|
| pack-priv int size() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |