Package org.reactfx.collection
Interface SuspendableList<E>
- All Superinterfaces:
Collection<E>
,Guardian
,Iterable<E>
,List<E>
,LiveList<E>
,javafx.beans.Observable
,Observable
,Observable<LiveList.Observer<? super E,
,?>> javafx.collections.ObservableList<E>
,ObservableList<E>
,SequencedCollection<E>
,Suspendable
- All Known Implementing Classes:
SuspendableListWrapper
-
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
-
Method Summary
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface org.reactfx.Guardian
guardWhile, guardWhile
Methods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, sort, spliterator, subList, toArray, toArray
Methods 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, suspendable
Methods inherited from interface org.reactfx.inhibeans.Observable
blockWhile, blockWhile, guard
Methods inherited from interface org.reactfx.Observable
addObserver, observe, removeObserver
Methods inherited from interface javafx.collections.ObservableList
addAll, filtered, remove, removeAll, retainAll, setAll, setAll, sorted, sorted
Methods inherited from interface org.reactfx.Suspendable
suspend, suspendWhen, suspendWhile, suspendWhile
-
Method Details
-
block
Deprecated.Description copied from interface:Observable
Prevents invalidation and change events from being emitted, until the returned guard is released.- Specified by:
block
in interfaceObservable
- Returns:
- a
Guard
instance that can be released to resume the delivery of invalidation and change events. If this observable has been invalidated one or more times before the guard is released, a single notification is passed to invalidation and change listeners of this observable. The returnedGuard
isAutoCloseable
, which makes it convenient to use in try-with-resources.
-