|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.teraspaces.qwframework.collections.FastListInt
public final class FastListInt
A primitive version of FastList.
| Constructor Summary | |
|---|---|
FastListInt()
Instantiates a new FastListInt. |
|
| Method Summary | |
|---|---|
boolean |
add(int value)
Appends an element to the end of list. |
void |
clear()
Clears the current list and frees up the memory. |
int |
get(int index)
Gets an element from the list by specified index. |
boolean |
isEmpty()
Checks if the current list is empty. |
int |
set(int index,
int 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 FastListInt()
| Method Detail |
|---|
public boolean add(int value)
value - the value
public int size()
public boolean isEmpty()
public void clear()
public int get(int index)
index - the index
public int set(int index,
int element)
index - the indexelement - the element
|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||