|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.teraspaces.qwframework.collections.FastListByte
public final class FastListByte
A primitive version of FastList.
| Constructor Summary | |
|---|---|
FastListByte()
Instantiates a new FastListByte. |
|
| Method Summary | |
|---|---|
boolean |
add(byte value)
Appends an element to the end of list. |
void |
clear()
Clears the current list and frees up the memory. |
byte |
get(int index)
Gets an element from the list by specified index. |
boolean |
isEmpty()
Checks if the current list is empty. |
byte |
set(int index,
byte element)
Sets an element to the list by index. |
int |
size()
Gets the size of the list. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FastListByte()
| Method Detail |
|---|
public boolean add(byte value)
value - the value
public int size()
public boolean isEmpty()
public void clear()
public byte get(int index)
index - the index
public byte set(int index,
byte element)
index - the indexelement - the element
|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||