Home | History | Annotate | Download | only in util

Lines Matching refs:OBJECT

31  * separate from ArrayMap, however, so the Object array contains only one item for each
63 * Object[] variable is a pointer to a linked list of array objects.
67 static Object[] mBaseCache;
69 static Object[] mTwiceBaseCache;
73 Object[] mArray;
77 private int indexOf(Object key, int hash) {
157 final Object[] array = mTwiceBaseCache;
159 mTwiceBaseCache = (Object[])array[0];
171 final Object[] array = mBaseCache;
173 mBaseCache = (Object[])array[0];
185 mArray = new Object[size];
188 private static void freeArrays(final int[] hashes, final Object[] array, final int size) {
226 mArray = EmptyArray.OBJECT;
236 mArray = EmptyArray.OBJECT;
269 mArray = EmptyArray.OBJECT;
281 final Object[] oarray = mArray;
298 public boolean contains(Object key) {
308 public int indexOf(Object key) {
330 * Adds the specified object to this set. The set is not modified if it
331 * already contains the object.
333 * @param value the object to add.
336 * when the class of the object is inappropriate for this set.
361 final Object[] oarray = mArray;
387 * Perform a {@link #add(Object)} of all values in <var>array</var>
407 * Removes the specified object from this set.
409 * @param object the object to remove.
413 public boolean remove(Object object) {
414 final int index = indexOf(object);
428 final Object old = mArray[index];
434 mArray = EmptyArray.OBJECT;
446 final Object[] oarray = mArray;
476 * Perform a {@link #remove(Object)} of all values in <var>array</var>
504 public Object[] toArray() {
505 Object[] result = new Object[mSize];
527 * <p>This implementation returns false if the object is not a set, or
534 public boolean equals(Object object) {
535 if (this == object) {
538 if (object instanceof Set) {
539 Set<?> set = (Set<?>) object;
593 Object value = valueAt(i);
618 protected Object colGetEntry(int index, int offset) {
623 protected int colIndexOfKey(Object key) {
628 protected int colIndexOfValue(Object value) {
691 * Perform an {@link #add(Object)} of all values in <var>collection</var>
712 for (Object value : collection) {