Package | Description |
---|---|
org.multiverse.api.predicates | |
org.multiverse.api.references | |
org.multiverse.stms.gamma.transactionalobjects |
Modifier and Type | Class and Description |
---|---|
class |
BooleanPredicate
A predicate that checks if some value leads to true or false.
|
class |
DoublePredicate
A predicate that checks if some value leads to true or false.
|
class |
IntPredicate
A predicate that checks if some value leads to true or false.
|
class |
LongPredicate
A predicate that checks if some value leads to true or false.
|
Modifier and Type | Method and Description |
---|---|
static <E> Predicate<E> |
Predicates.newIsNotNullPredicate()
Creates a Predicate that checks if the passed object is not null.
|
static <E> Predicate<E> |
Predicates.newIsNullPredicate()
Creates a Predicate that checks if the passed object is null.
|
Modifier and Type | Method and Description |
---|---|
void |
TxnRef.await(Predicate<E> predicate)
Awaits until the predicate holds.
|
void |
TxnRef.await(Txn txn,
Predicate<E> predicate)
Awaits until the predicate holds using the provided txn.
|
Modifier and Type | Method and Description |
---|---|
void |
GammaTxnRef.await(GammaTxn tx,
Predicate<E> predicate) |
void |
GammaTxnRef.await(Predicate<E> predicate) |
void |
GammaTxnRef.await(Txn tx,
Predicate<E> predicate) |
Copyright © 2020. All rights reserved.