Interface IotaPredicate
- All Known Implementing Classes:
IotaPredicate.Any,IotaPredicate.OfType,IotaPredicate.Or
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Used to determine whether a given iota is an acceptable type for the operator that is storing this. It must be strictly a function
of the passed Iota's IotaType, or the caching done by ArithmeticEngine will be invalid.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IotaPredicateThis IotaPredicate returns true for all iotas. -
Method Summary
Modifier and TypeMethodDescriptionstatic IotaPredicateany(IotaPredicate... any) static IotaPredicateany(List<IotaPredicate> any) static IotaPredicateThe resulting IotaPredicate returns true if the given iota's type is type.static IotaPredicateor(IotaPredicate left, IotaPredicate right) The resulting IotaPredicate returns true if the given iota matches either the left or right predicates.boolean
-
Field Details
-
TRUE
This IotaPredicate returns true for all iotas.
-
-
Method Details
-
test
-
or
The resulting IotaPredicate returns true if the given iota matches either the left or right predicates. -
any
-
any
-
ofType
The resulting IotaPredicate returns true if the given iota's type is type.
-