java.lang.Object
swim.structure.collections.ValueIterable<T>
swim.structure.collections.ValueCollection<T>
swim.structure.collections.ValueList<T>
swim.structure.collections.ValueKeyedList<V>
swim.store.ListDataView<V>
- All Implemented Interfaces:
Iterable<V>,Collection<V>,List<V>,swim.api.data.ListData<V>,DataContext,ListDataContext,swim.util.KeyedList<V>
public class ListDataView<V>
extends swim.structure.collections.ValueKeyedList<V>
implements swim.api.data.ListData<V>, ListDataContext
-
Field Summary
Fields inherited from class swim.structure.collections.ValueIterable
inner, valueForm -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidvoiddidClear()voidvoiddidDrop(long lower) voiddidInsert(long index, swim.structure.Value newValue) voiddidRemove(long index, swim.structure.Value oldValue) voiddidTake(long upper) voiddidUpdate(long index, swim.structure.Value newValue, swim.structure.Value oldValue) voiddrop(int lower) booleanisResident(boolean isResident) booleanisTransient(boolean isTransient) swim.structure.Valuename()swim.util.KeyedList<V>snapshot()voidtake(int upper) <V> ListDataView<V>valueClass(Class<V> valueClass) <V> ListDataView<V>valueForm(swim.structure.Form<V> valueForm) Methods inherited from class swim.structure.collections.ValueKeyedList
add, add, entryIterator, get, getEntry, getEntry, inner, keyIterator, move, move, remove, setMethods inherited from class swim.structure.collections.ValueList
add, addAll, equals, get, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subListMethods inherited from class swim.structure.collections.ValueCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toStringMethods inherited from class swim.structure.collections.ValueIterable
iterator, valueFormMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface swim.util.KeyedList
add, add, entryIterator, get, getEntry, getEntry, keyIterator, move, move, remove, setMethods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayMethods inherited from interface swim.api.data.ListData
valueForm
-
Constructor Details
-
ListDataView
-
-
Method Details
-
dataBinding
-
name
public swim.structure.Value name()- Specified by:
namein interfaceswim.api.data.ListData<V>
-
valueForm
-
valueClass
-
isResident
public boolean isResident()- Specified by:
isResidentin interfaceswim.api.data.ListData<V>
-
isResident
- Specified by:
isResidentin interfaceswim.api.data.ListData<V>
-
isTransient
public boolean isTransient()- Specified by:
isTransientin interfaceswim.api.data.ListData<V>
-
isTransient
- Specified by:
isTransientin interfaceswim.api.data.ListData<V>
-
drop
public void drop(int lower) - Specified by:
dropin interfaceswim.api.data.ListData<V>
-
take
public void take(int upper) - Specified by:
takein interfaceswim.api.data.ListData<V>
-
snapshot
- Specified by:
snapshotin interfaceswim.api.data.ListData<V>
-
close
public void close()- Specified by:
closein interfaceswim.api.data.ListData<V>
-
didChange
public void didChange()- Specified by:
didChangein interfaceDataContext
-
didCommit
public void didCommit()- Specified by:
didCommitin interfaceDataContext
-
didUpdate
public void didUpdate(long index, swim.structure.Value newValue, swim.structure.Value oldValue) - Specified by:
didUpdatein interfaceListDataContext
-
didInsert
public void didInsert(long index, swim.structure.Value newValue) - Specified by:
didInsertin interfaceListDataContext
-
didRemove
public void didRemove(long index, swim.structure.Value oldValue) - Specified by:
didRemovein interfaceListDataContext
-
didDrop
public void didDrop(long lower) - Specified by:
didDropin interfaceListDataContext
-
didTake
public void didTake(long upper) - Specified by:
didTakein interfaceListDataContext
-
didClear
public void didClear()- Specified by:
didClearin interfaceListDataContext
-