Constructor and Description |
---|
IndexTreeList(Store store,
Serializer<E> serializer,
NonExistentClass map,
long counterRecid,
boolean isThreadSafe)
ArrayList like structure backed by tree
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(E element) |
void |
add(int index,
E element) |
void |
checkIndex(int index) |
void |
clear() |
boolean |
contains(java.lang.Object p) |
E |
get(int index) |
long |
getCounterRecid() |
java.util.concurrent.locks.ReentrantReadWriteLock |
getLock() |
NonExistentClass |
getMap() |
Serializer<E> |
getSerializer() |
int |
getSize() |
Store |
getStore() |
int |
indexOf(java.lang.Object p) |
boolean |
isEmpty() |
boolean |
isThreadSafe() |
java.util.Iterator<E> |
iterator() |
int |
lastIndexOf(java.lang.Object p) |
java.lang.Object |
remove(int p) |
boolean |
remove(java.lang.Object p) |
E |
removeAt(int index) |
E |
set(int index,
E element) |
void |
setSize(int size) |
int |
size() |
public IndexTreeList(Store store, Serializer<E> serializer, NonExistentClass map, long counterRecid, boolean isThreadSafe)
ArrayList like structure backed by tree
public java.util.concurrent.locks.ReentrantReadWriteLock getLock()
public boolean add(E element)
public void add(int index, E element)
public void clear()
public E removeAt(int index)
public java.lang.Object remove(int p)
public E set(int index, E element)
public void checkIndex(int index)
public E get(int index)
public boolean isEmpty()
public java.util.Iterator<E> iterator()
public int getSize()
public int size()
public void setSize(int size)
public Store getStore()
public Serializer<E> getSerializer()
public NonExistentClass getMap()
public long getCounterRecid()
public boolean isThreadSafe()
public boolean contains(java.lang.Object p)
public boolean remove(java.lang.Object p)
public int lastIndexOf(java.lang.Object p)
public int indexOf(java.lang.Object p)