|
Oracle OLAP Java API Reference 10g Release 1 (10.1) B10994-01 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--oracle.olapi.ArraySet
A resizable-array implementation of the Set interface from the Sun Microsystems collections framework. A set cannot contain duplicate elements.
For the Sun Microsystems util package documentation, see Package java.util. For more general information on the collections framework, see the Sun Microsystems Collections Framework documentation.
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
ArraySet()Creates an empty set. | |
ArraySet(java.util.Collection c)Creates a set that contains all of the elements of the specified Collection in the ordered returned by the iterator of the Collection. | |
ArraySet(int initialCapacity)Creates an empty set whose size is the specified initial capacity. | |
| Method Summary | |
boolean |
add(java.lang.Object o)Adds the specified element to the end of the set if the element is not already present in the set. |
boolean |
equals(java.lang.Object o)Determines if the specified Object contains the same set of elements as this ArraySet. |
int |
hashCode()Returns the hash code value for the ArraySet, which is the sum of all of the hash codes of the elements of the set. |
| Methods inherited from class java.util.ArrayList |
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ArraySet()
public ArraySet(java.util.Collection c)
Collection in the ordered returned by the iterator of the Collection.public ArraySet(int initialCapacity)
| Method Detail |
public boolean add(java.lang.Object o)
o - The element to add to the set.true if this method adds the element to the set and false otherwise.public boolean equals(java.lang.Object o)
Object contains the same set of elements as this ArraySet.true if the elements of the ArraySet are the same as the specified Object and false otherwise.public int hashCode()
ArraySet, which is the sum of all of the hash codes of the elements of the set. The hash code of a null element is defined as zero.ArraySet.
|
Oracle OLAP Java API Reference 10g Release 1 (10.1) B10994-01 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||