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, toArrayMethods inherited from interface org.reactfx.Guardian
guardWhile, guardWhileMethods 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, toArrayMethods 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
addAll, filtered, remove, removeAll, retainAll, setAll, setAll, sorted, sortedMethods inherited from interface org.reactfx.Suspendable
suspend, suspendWhen, suspendWhile, suspendWhile
-
Method Details
-
block
Deprecated.Description copied from interface:ObservablePrevents invalidation and change events from being emitted, until the returned guard is released.- Specified by:
blockin interfaceObservable- Returns:
- a
Guardinstance 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 returnedGuardisAutoCloseable, which makes it convenient to use in try-with-resources.
-