java.lang.Object
swim.db.STreeList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanbooleanbooleanaddAll(int index, Collection<? extends Value> newValues) booleanaddAll(Collection<? extends Value> newValues) voidclear()voidcommitAsync(Commit commit) booleanbooleancontainsAll(Collection<?> values) final Databasedatabase()depthIterator(int maxDepth) protected voiddidFail(StoreException error) voiddrop(int lower) get(int index) getEntry(int index) protected ValueintbooleanisEmpty()booleanisResident(boolean isResident) booleanisTransient(boolean isTransient) iterator()intlastIndexOf(Object object) listIterator(int index) load()voidmove(int fromIndex, int toIndex) voidfinal Valuename()remove(int index) booleanbooleanremoveAll(Collection<?> values) booleanretainAll(Collection<?> values) final StoreSettingssettings()voidsetTreeDelegate(TreeDelegate treeDelegate) intsize()snapshot()longspan()subList(int fromIndex, int toIndex) voidtake(int upper) Object[]toArray()<T> T[]toArray(T[] array) final STreetree()final TreeDelegatelongtreeSize()trunk()<V> ValueList<V>valueClass(Class<V> valueClass) <V> ValueList<V>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
STreeList
-
-
Method Details
-
trunk
-
settings
-
database
-
name
-
tree
-
treeDelegate
-
setTreeDelegate
-
isResident
public boolean isResident() -
isResident
-
isTransient
public boolean isTransient() -
isTransient
-
valueForm
-
valueClass
-
snapshot
-
isEmpty
public boolean isEmpty() -
size
public int size() -
span
public long span() -
treeSize
public long treeSize() -
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<Value>- Specified by:
containsAllin interfaceList<Value>
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<Value>
-
get
-
get
-
getEntry
-
getEntry
-
set
-
set
-
add
-
add
-
addAll
-
add
-
add
-
addAll
-
remove
-
remove
-
remove
-
removeAll
-
retainAll
-
move
public void move(int fromIndex, int toIndex) -
move
-
drop
public void drop(int lower) -
take
public void take(int upper) -
clear
public void clear() -
toArray
-
toArray
public <T> T[] toArray(T[] array) -
iterator
-
listIterator
- Specified by:
listIteratorin interfaceList<Value>
-
listIterator
- Specified by:
listIteratorin interfaceList<Value>
-
keyIterator
- Specified by:
keyIteratorin interfaceKeyedList<Value>
-
entryIterator
- Specified by:
entryIteratorin interfaceKeyedList<Value>
-
depthIterator
-
subList
-
identify
-
didFail
-
load
-
commitAsync
-
commit
- Throws:
InterruptedException
-