public class FastByteArrayList
extends java.lang.Object
implements java.lang.Cloneable, java.util.RandomAccess, java.io.Serializable
FastArrayList for the byte primitive data type.| Modifier and Type | Field | Description |
|---|---|---|
static int |
DEFAULT_INITIAL_CAPACITY |
| Constructor | Description |
|---|---|
FastByteArrayList() |
|
FastByteArrayList(byte[] src) |
|
FastByteArrayList(int initialCapacity) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
add(byte value) |
|
void |
add(int index,
byte element) |
|
boolean |
addAll(byte[] a) |
|
boolean |
addAll(FastByteArrayList c) |
|
boolean |
addAll(int index,
byte[] a) |
|
boolean |
addAll(int index,
FastByteArrayList c) |
|
void |
clear() |
|
FastByteArrayList |
clone() |
|
boolean |
contains(byte v) |
|
void |
ensureCapacity(int min) |
|
boolean |
equals(java.lang.Object o) |
|
byte |
get(int index) |
|
int |
hashCode() |
|
int |
indexOf(byte v) |
|
boolean |
isEmpty() |
|
int |
lastIndexOf(byte v) |
|
byte |
remove(int index) |
|
boolean |
removeElement(byte value) |
|
byte |
set(int index,
byte value) |
|
int |
size() |
|
byte[] |
toArray() |
|
java.lang.String |
toString() |
|
void |
trimToSize() |
public static final int DEFAULT_INITIAL_CAPACITY
public FastByteArrayList()
public FastByteArrayList(int initialCapacity)
public FastByteArrayList(byte[] src)
public void trimToSize()
public void ensureCapacity(int min)
public int size()
public boolean isEmpty()
public boolean contains(byte v)
public int indexOf(byte v)
public int lastIndexOf(byte v)
public FastByteArrayList clone() throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic byte[] toArray()
public byte get(int index)
public byte set(int index,
byte value)
public boolean add(byte value)
public void add(int index,
byte element)
public byte remove(int index)
public boolean removeElement(byte value)
public void clear()
public boolean addAll(byte[] a)
public boolean addAll(int index,
byte[] a)
public boolean addAll(FastByteArrayList c)
public boolean addAll(int index,
FastByteArrayList c)
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.