Package org.reactfx.collection
Class SuspendableListWrapper<E>
java.lang.Object
org.reactfx.ObservableBase<LiveList.Observer<? super E,?>,QuasiListChange<? extends E>>
org.reactfx.SuspendableBase<LiveList.Observer<? super E,?>,QuasiListChange<? extends E>,ListModificationSequence<E>>
org.reactfx.collection.SuspendableListWrapper<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>,SequencedCollection<E>,javafx.beans.Observable,javafx.collections.ObservableList<E>,LiveList<E>,ProperLiveList<E>,SuspendableList<E>,Guardian,ObservableList<E>,Observable,Observable<LiveList.Observer<? super E,,?>> ProperObservable<LiveList.Observer<? super E,,?>, QuasiListChange<? extends E>> Suspendable
final class SuspendableListWrapper<E>
extends SuspendableBase<LiveList.Observer<? super E,?>,QuasiListChange<? extends E>,ListModificationSequence<E>>
implements SuspendableList<E>, ProperLiveList<E>
-
Property Summary
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.reactfx.collection.LiveList
LiveList.Observer<E,O>, LiveList.QuasiChangeObserver<E>, LiveList.QuasiModificationObserver<E> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends E> c) final booleanbooleanaddAll(Collection<? extends E> c) voidclear()booleanbooleancontainsAll(Collection<?> c) get(int index) protected QuasiListChange<? extends E> headOf(ListModificationSequence<E> accum) intbooleanisEmpty()iterator()intlistIterator(int index) remove(int index) voidremove(int from, int to) booleanfinal booleanbooleanremoveAll(Collection<?> c) final booleanbooleanretainAll(Collection<?> c) final booleanbooleansetAll(Collection<? extends E> c) intsize()protected AccumulatorSizesizeOf(ListModificationSequence<E> accum) subList(int fromIndex, int toIndex) protected ListModificationSequence<E> tailOf(ListModificationSequence<E> accum) Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class org.reactfx.SuspendableBase
initialAccumulator, isSuspended, observeInputs, reduce, suspendMethods inherited from class org.reactfx.ObservableBase
addObserver, enqueueNotifications, equals, forEachObserver, getObserverCount, hashCode, isObservingInputs, newObserver, notifyObservers, notifyObservers, observe, removeObserver, toStringMethods 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 org.reactfx.Guardian
guardWhile, guardWhileMethods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliteratorMethods inherited from interface org.reactfx.collection.LiveList
addChangeObserver, addListener, addListener, addModificationObserver, addQuasiChangeObserver, addQuasiModificationObserver, changes, collapse, collapseDynamic, map, mapDynamic, memoize, modifications, observeChanges, observeModifications, observeQuasiChanges, observeQuasiModifications, pin, quasiChanges, quasiModifications, reduce, reduceRange, removeChangeObserver, removeListener, removeListener, removeModificationObserver, removeQuasiChangeObserver, removeQuasiModificationObserver, sizeProperty, suspendableMethods inherited from interface org.reactfx.inhibeans.Observable
blockWhile, blockWhile, guardMethods inherited from interface org.reactfx.Observable
addObserver, observe, removeObserverMethods inherited from interface javafx.collections.ObservableList
filtered, sorted, sortedMethods inherited from interface org.reactfx.collection.ProperLiveList
contentReplacement, defaultEquals, defaultHashCode, defaultNotificationAccumulator, defaultToString, fireContentReplacement, fireElemInsertion, fireElemRemoval, fireElemReplacement, fireModification, fireRangeInsertion, fireRemoveRangeMethods inherited from interface org.reactfx.ProperObservable
notifyObserversMethods inherited from interface org.reactfx.Suspendable
suspend, suspendWhen, suspendWhile, suspendWhileMethods inherited from interface org.reactfx.collection.SuspendableList
block
-
Field Details
-
delegate
-
-
Constructor Details
-
SuspendableListWrapper
SuspendableListWrapper(javafx.collections.ObservableList<E> source)
-
-
Method Details
-
sizeOf
- Specified by:
sizeOfin classSuspendableBase<LiveList.Observer<? super E,?>, QuasiListChange<? extends E>, ListModificationSequence<E>>
-
headOf
- Specified by:
headOfin classSuspendableBase<LiveList.Observer<? super E,?>, QuasiListChange<? extends E>, ListModificationSequence<E>>
-
tailOf
- Specified by:
tailOfin classSuspendableBase<LiveList.Observer<? super E,?>, QuasiListChange<? extends E>, ListModificationSequence<E>>
-
addAll
- Specified by:
addAllin interfacejavafx.collections.ObservableList<E>
-
remove
public void remove(int from, int to) - Specified by:
removein interfacejavafx.collections.ObservableList<E>
-
removeAll
- Specified by:
removeAllin interfacejavafx.collections.ObservableList<E>
-
retainAll
- Specified by:
retainAllin interfacejavafx.collections.ObservableList<E>
-
setAll
- Specified by:
setAllin interfacejavafx.collections.ObservableList<E>
-
setAll
- Specified by:
setAllin interfacejavafx.collections.ObservableList<E>
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
subList
-