java.util.function.BooleanSupplierpublic class BooleanSupplierWithContext extends WrapperWithContext<T> implements java.util.function.BooleanSupplier
BooleanSupplier that reactivates a context snapshot before
calling a delegate.| Modifier | Constructor | Description |
|---|---|---|
protected |
BooleanSupplierWithContext(java.util.function.Supplier<ContextSnapshot> supplier,
java.util.function.BooleanSupplier delegate,
java.util.function.Consumer<ContextSnapshot> consumer) |
|
|
BooleanSupplierWithContext(ContextSnapshot snapshot,
java.util.function.BooleanSupplier delegate) |
|
|
BooleanSupplierWithContext(ContextSnapshot snapshot,
java.util.function.BooleanSupplier delegate,
java.util.function.Consumer<ContextSnapshot> consumer) |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.Optional<java.util.function.Consumer<ContextSnapshot>> |
consumer() |
|
boolean |
getAsBoolean() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdelegate, nonNullDelegateequals, hashCode, snapshot, toStringpublic BooleanSupplierWithContext(ContextSnapshot snapshot, java.util.function.BooleanSupplier delegate)
public BooleanSupplierWithContext(ContextSnapshot snapshot, java.util.function.BooleanSupplier delegate, java.util.function.Consumer<ContextSnapshot> consumer)
protected BooleanSupplierWithContext(java.util.function.Supplier<ContextSnapshot> supplier, java.util.function.BooleanSupplier delegate, java.util.function.Consumer<ContextSnapshot> consumer)
public boolean getAsBoolean()
getAsBoolean in interface java.util.function.BooleanSupplierprotected java.util.Optional<java.util.function.Consumer<ContextSnapshot>> consumer()
Copyright © 2016–2019 Talsma ICT. All rights reserved.