public class FastShortArrayTable
extends java.lang.Object
implements java.lang.Cloneable, java.util.RandomAccess, java.io.Serializable
FastArrayTable for the short primitive data type.| Constructor | Description |
|---|---|
FastShortArrayTable() |
|
FastShortArrayTable(int initialCapacity) |
|
FastShortArrayTable(short[] src) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(int index,
short element) |
|
boolean |
add(short value) |
|
boolean |
addAll(FastShortArrayTable c) |
|
boolean |
addAll(int index,
FastShortArrayTable c) |
|
boolean |
addAll(int index,
short[] a) |
|
boolean |
addAll(short[] a) |
|
void |
clear() |
|
FastShortArrayTable |
clone() |
|
boolean |
contains(short v) |
|
boolean |
delete(short value) |
|
void |
ensureCapacity(int min) |
|
boolean |
equals(java.lang.Object o) |
|
short |
get(int index) |
|
int |
hashCode() |
|
int |
indexOf(short v) |
|
boolean |
isEmpty() |
|
int |
lastIndexOf(short v) |
|
short |
remove(int index) |
|
protected void |
removeRange(int from,
int to) |
|
short |
set(int index,
short value) |
|
int |
size() |
|
short[] |
toArray() |
|
java.lang.String |
toString() |
|
void |
trimToSize() |
public FastShortArrayTable()
public FastShortArrayTable(int initialCapacity)
public FastShortArrayTable(short[] src)
public void trimToSize()
public void ensureCapacity(int min)
public int size()
public boolean isEmpty()
public boolean contains(short v)
public int indexOf(short v)
public int lastIndexOf(short v)
public FastShortArrayTable clone() throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic short[] toArray()
public short get(int index)
public short set(int index,
short value)
public boolean add(short value)
public void add(int index,
short element)
public short remove(int index)
public boolean delete(short value)
public void clear()
public boolean addAll(short[] a)
public boolean addAll(FastShortArrayTable c)
public boolean addAll(int index,
short[] a)
public boolean addAll(int index,
FastShortArrayTable c)
protected void removeRange(int from,
int to)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005 - 2009 Javolution.