- java.lang.Object
-
- swim.db.STreeListView
-
-
Constructor Summary
Constructors Constructor Description STreeListView(STree tree)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, Value newValue)booleanadd(Value newValue)booleanaddAll(int index, Collection<? extends Value> newValues)booleanaddAll(Collection<? extends Value> newValues)voidclear()booleancontains(Object value)booleancontainsAll(Collection<?> values)Valueget(int index)STreegetTree()intindexOf(Object object)booleanisEmpty()booleanisResident()booleanisTransient()Cursor<Value>iterator()intlastIndexOf(Object object)Cursor<Value>listIterator()Cursor<Value>listIterator(int index)STreeListViewload()voidloadAsync(Cont<STreeListView> cont)Valueremove(int index)booleanremove(Object value)booleanremoveAll(Collection<?> values)booleanretainAll(Collection<?> values)Valueset(int index, Value newValue)intsize()List<Value>subList(int fromIndex, int toIndex)Object[]toArray()<T> T[]toArray(T[] array)<V> ValueList<V>valueClass(Class<V> valueClass)<V> ValueList<V>valueForm(Form<V> valueForm)-
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
-
-
-
-
Field Detail
-
tree
protected final STree tree
-
-
Constructor Detail
-
STreeListView
public STreeListView(STree tree)
-
-
Method Detail
-
getTree
public STree getTree()
-
loadAsync
public void loadAsync(Cont<STreeListView> cont)
-
load
public STreeListView load() throws InterruptedException
- Throws:
InterruptedException
-
isResident
public boolean isResident()
-
isTransient
public boolean isTransient()
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
contains
public boolean contains(Object value)
-
containsAll
public boolean containsAll(Collection<?> values)
- Specified by:
containsAllin interfaceCollection<Value>- Specified by:
containsAllin interfaceList<Value>
-
lastIndexOf
public int lastIndexOf(Object object)
- Specified by:
lastIndexOfin interfaceList<Value>
-
add
public boolean add(Value newValue)
-
addAll
public boolean addAll(Collection<? extends Value> newValues)
-
addAll
public boolean addAll(int index, Collection<? extends Value> newValues)
-
remove
public boolean remove(Object value)
-
removeAll
public boolean removeAll(Collection<?> values)
-
retainAll
public boolean retainAll(Collection<?> values)
-
clear
public void clear()
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(T[] array)
-
listIterator
public Cursor<Value> listIterator()
- Specified by:
listIteratorin interfaceList<Value>
-
listIterator
public Cursor<Value> listIterator(int index)
- Specified by:
listIteratorin interfaceList<Value>
-
-