public class UnsignedShortArrayList
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
UnsignedShortArrayList() |
UnsignedShortArrayList(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
add(int element) |
void |
add(int index,
int element) |
void |
clear() |
java.lang.Object |
clone() |
boolean |
contains(int element) |
void |
copyRange(int fromIndex,
int length,
int toIndex) |
void |
ensureCapacity(int minCapacity) |
void |
fill(int fromIndex,
int toIndex,
int value) |
int |
get(int index) |
int |
getQuick(int index) |
int |
indexOf(int element) |
int |
indexOf(int element,
int startIndex,
int endIndex) |
boolean |
isEmpty() |
int |
lastIndexOf(int element) |
int |
remove(int index) |
void |
removeRange(int fromIndex,
int toIndex) |
int |
set(int index,
int element) |
void |
setQuick(int index,
int element) |
int |
size() |
int [] |
toArray() |
int [] |
toArray(int [] a) |
int [] |
toArray(int startIndex,
int length) |
java.lang.String |
toString() |
void |
trimToSize() |
public UnsignedShortArrayList(int initialCapacity)
public UnsignedShortArrayList()
public void trimToSize()
public void ensureCapacity(int minCapacity)
public void fill(int fromIndex, int toIndex, int value)
public int size()
public boolean isEmpty()
public boolean contains(int element)
public int indexOf(int element)
public int indexOf(int element, int startIndex, int endIndex)
public int lastIndexOf(int element)
public java.lang.Object clone()
clone
in class java.lang.Object
public int [] toArray()
public int [] toArray(int [] a)
public int [] toArray(int startIndex, int length)
public int get(int index)
public int getQuick(int index)
public int set(int index, int element)
public void setQuick(int index, int element)
public void add(int element)
public void add(int index, int element)
public int remove(int index)
public void clear()
public void removeRange(int fromIndex, int toIndex)
public void copyRange(int fromIndex, int length, int toIndex)
public java.lang.String toString()
toString
in class java.lang.Object