public class IntArrayList extends AbstractIntList implements Cloneable
size| Constructor and Description |
|---|
IntArrayList() |
IntArrayList(int initialCapacity) |
IntArrayList(int[] elements) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int element) |
void |
beforeInsert(int index,
int element) |
int |
binarySearchFromTo(int key,
int from,
int to) |
Object |
clone() |
IntArrayList |
copy() |
protected void |
countSortFromTo(int from,
int to,
int min,
int max) |
int[] |
elements() |
AbstractIntList |
elements(int[] elements) |
void |
ensureCapacity(int minCapacity) |
boolean |
equals(Object otherObj) |
boolean |
forEach(IntProcedure procedure) |
int |
get(int index) |
int |
getQuick(int index) |
int |
indexOfFromTo(int element,
int from,
int to) |
int |
lastIndexOfFromTo(int element,
int from,
int to) |
AbstractIntList |
partFromTo(int from,
int to) |
boolean |
removeAll(AbstractIntList other) |
void |
replaceFromToWithFrom(int from,
int to,
AbstractIntList other,
int otherFrom) |
boolean |
retainAll(AbstractIntList other) |
void |
reverse() |
void |
set(int index,
int element) |
void |
setQuick(int index,
int element) |
void |
sortFromTo(int from,
int to) |
void |
trimToSize() |
addAllOf, addAllOf, addAllOfFromTo, beforeInsertAllOfFromTo, beforeInsertDummies, binarySearch, contains, delete, fillFromToWith, indexOf, lastIndexOf, mergeSortFromTo, mergeSortFromTo, quickSortFromTo, quickSortFromTo, removeFromTo, replaceFromToWithFromTo, setSizeRaw, size, times, toArray, toList, toStringcheckRange, checkRangeFromTo, clear, isEmpty, mergeSort, quickSort, remove, setSize, sortpublic IntArrayList()
public IntArrayList(int[] elements)
public IntArrayList(int initialCapacity)
public void add(int element)
add in class AbstractIntListpublic void beforeInsert(int index,
int element)
beforeInsert in class AbstractIntListpublic int binarySearchFromTo(int key,
int from,
int to)
binarySearchFromTo in class AbstractIntListpublic Object clone()
clone in class AbstractIntListpublic IntArrayList copy()
protected void countSortFromTo(int from,
int to,
int min,
int max)
public int[] elements()
elements in class AbstractIntListpublic AbstractIntList elements(int[] elements)
elements in class AbstractIntListpublic void ensureCapacity(int minCapacity)
ensureCapacity in class AbstractIntListpublic boolean equals(Object otherObj)
equals in class AbstractIntListpublic boolean forEach(IntProcedure procedure)
forEach in class AbstractIntListpublic int get(int index)
get in class AbstractIntListpublic int getQuick(int index)
getQuick in class AbstractIntListpublic int indexOfFromTo(int element,
int from,
int to)
indexOfFromTo in class AbstractIntListpublic int lastIndexOfFromTo(int element,
int from,
int to)
lastIndexOfFromTo in class AbstractIntListpublic AbstractIntList partFromTo(int from, int to)
partFromTo in class AbstractIntListpublic boolean removeAll(AbstractIntList other)
removeAll in class AbstractIntListpublic void replaceFromToWithFrom(int from,
int to,
AbstractIntList other,
int otherFrom)
replaceFromToWithFrom in class AbstractIntListpublic boolean retainAll(AbstractIntList other)
retainAll in class AbstractIntListpublic void reverse()
reverse in class AbstractIntListpublic void set(int index,
int element)
set in class AbstractIntListpublic void setQuick(int index,
int element)
setQuick in class AbstractIntListpublic void sortFromTo(int from,
int to)
sortFromTo in class AbstractListpublic void trimToSize()
trimToSize in class AbstractList