org.mapdb / IndexTreeList

IndexTreeList

class IndexTreeList<E> : AbstractList<E?>

ArrayList like structure backed by tree



Constructors

<init> IndexTreeList(store: Store, serializer: Serializer<E>, map: <ERROR CLASS>, counterRecid: Long, isThreadSafe: Boolean)

ArrayList like structure backed by tree

Properties

counterRecid val counterRecid: Long
isThreadSafe val isThreadSafe: Boolean
lock val lock: ReentrantReadWriteLock?
map val map: <ERROR CLASS>
serializer val serializer: Serializer<E>
size var size: Int
store val store: Store

Functions

add fun add(element: E?): Boolean
fun add(index: Int, element: E?): Unit
checkIndex fun checkIndex(index: Int): Unit
clear fun clear(): Unit
get fun get(index: Int): E?
isEmpty fun isEmpty(): Boolean
iterator fun iterator(): MutableIterator<E?>
removeAt fun removeAt(index: Int): E?
set fun set(index: Int, element: E?): E?