| Modifier and Type | Field and Description |
|---|---|
| private int[] | |
| private int | |
| private static int[] | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final int | |
| public final int | |
| public final void | |
| public final boolean | |
| private void | |
| public boolean | Returns: true if the specified object is equal to this listthe object to be compared for equality with this list o)Overrides java. |
| public final int | |
| public int | Returns: the hash code value for this listOverrides java. |
| public final boolean | |
| public final int | |
| public final void | |
| public final int | |
| public final int | |
| public final void | |
| public final int[] | |
| public String | |
| public final void |
| _data | back to summary |
|---|---|
| private int[] _data
| |
| _size | back to summary |
|---|---|
| private int _size | |
| EMPTY_DATA | back to summary |
|---|---|
| private static int[] EMPTY_DATA | |
| INITIAL_SIZE | back to summary |
|---|---|
| private static final int INITIAL_SIZE | |
| MAX_ARRAY_SIZE | back to summary |
|---|---|
| private static final int MAX_ARRAY_SIZE | |
| IntegerList | back to summary |
|---|---|
| public IntegerList() | |
| IntegerList | back to summary |
|---|---|
| public IntegerList(int capacity) | |
| IntegerList | back to summary |
|---|---|
| public IntegerList(IntegerList list) | |
| IntegerList | back to summary |
|---|---|
| public IntegerList(Collection<Integer> list) | |
| add | back to summary |
|---|---|
| public final void add(int value) | |
| addAll | back to summary |
|---|---|
| public final void addAll(int[] array) | |
| addAll | back to summary |
|---|---|
| public final void addAll(IntegerList list) | |
| addAll | back to summary |
|---|---|
| public final void addAll(Collection<Integer> list) | |
| binarySearch | back to summary |
|---|---|
| public final int binarySearch(int key) | |
| binarySearch | back to summary |
|---|---|
| public final int binarySearch(int fromIndex, int toIndex, int key) | |
| clear | back to summary |
|---|---|
| public final void clear() | |
| contains | back to summary |
|---|---|
| public final boolean contains(int value) | |
| ensureCapacity | back to summary |
|---|---|
| private void ensureCapacity(int capacity) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Compares the specified object with this list for equality. Returns
This implementation first checks if the specified object is this
list. If so, it returns | |
| get | back to summary |
|---|---|
| public final int get(int index) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns the hash code value for this list. This implementation uses exactly the code that is used to define the
list hash function in the documentation for the
| |
| isEmpty | back to summary |
|---|---|
| public final boolean isEmpty() | |
| removeAt | back to summary |
|---|---|
| public final int removeAt(int index) | |
| removeRange | back to summary |
|---|---|
| public final void removeRange(int fromIndex, int toIndex) | |
| set | back to summary |
|---|---|
| public final int set(int index, int value) | |
| size | back to summary |
|---|---|
| public final int size() | |
| sort | back to summary |
|---|---|
| public final void sort() | |
| toArray | back to summary |
|---|---|
| public final int[] toArray() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representation of this list.
| |
| trimToSize | back to summary |
|---|---|
| public final void trimToSize() | |