java.lang.Object
swim.db.STreeList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
boolean
boolean
boolean
addAll
(int index, Collection<? extends Value> newValues) boolean
addAll
(Collection<? extends Value> newValues) void
clear()
void
commitAsync
(Commit commit) boolean
boolean
containsAll
(Collection<?> values) final Database
database()
depthIterator
(int maxDepth) protected void
didFail
(StoreException error) void
drop
(int lower) get
(int index) getEntry
(int index) protected Value
int
boolean
isEmpty()
boolean
isResident
(boolean isResident) boolean
isTransient
(boolean isTransient) iterator()
int
lastIndexOf
(Object object) listIterator
(int index) load()
void
move
(int fromIndex, int toIndex) void
final Value
name()
remove
(int index) boolean
boolean
removeAll
(Collection<?> values) boolean
retainAll
(Collection<?> values) final StoreSettings
settings()
void
setTreeDelegate
(TreeDelegate treeDelegate) int
size()
snapshot()
long
span()
subList
(int fromIndex, int toIndex) void
take
(int upper) Object[]
toArray()
<T> T[]
toArray
(T[] array) final STree
tree()
final TreeDelegate
long
treeSize()
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, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
containsAll
in interfaceCollection<Value>
- Specified by:
containsAll
in interfaceList<Value>
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in 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:
listIterator
in interfaceList<Value>
-
listIterator
- Specified by:
listIterator
in interfaceList<Value>
-
keyIterator
- Specified by:
keyIterator
in interfaceKeyedList<Value>
-
entryIterator
- Specified by:
entryIterator
in interfaceKeyedList<Value>
-
depthIterator
-
subList
-
identify
-
didFail
-
load
-
commitAsync
-
commit
- Throws:
InterruptedException
-