| Package | Description |
|---|---|
| com.speedment.runtime.compute |
The Runtime Compute module adds a large number of functional interfaces to
the Speedment system that allows computations to be performed on entities in
a Stream without loosing metadata required by Speedment to optimize the
stream.
|
| com.speedment.runtime.compute.expression |
Expression builders that can produce efficient and type-safe implementations
of the interfaces in the
com.speedment.enterprise.aggregator.function
package. |
| com.speedment.runtime.compute.expression.orelse |
| Modifier and Type | Method and Description |
|---|---|
default <V> ToBoolean<V> |
ToBoolean.compose(Function<? super V,? extends T> before)
Returns a composed expression that first applies the
before
function to its input, and then applies this function to the result. |
default ToBoolean<T> |
ToBoolean.map(com.speedment.common.function.BooleanUnaryOperator operator) |
static <T> ToBoolean<T> |
ToBoolean.of(Predicate<T> lambda)
Returns a typed
ToBoolean<T> using the provided lambda. |
default ToBoolean<T> |
ToBooleanNullable.orElse(Boolean value) |
default ToBoolean<T> |
ToBooleanNullable.orElseGet(ToBoolean<T> getter) |
default ToBoolean<T> |
ToBooleanNullable.orThrow() |
| Modifier and Type | Method and Description |
|---|---|
default ToBoolean<T> |
ToBooleanNullable.orElseGet(ToBoolean<T> getter) |
| Modifier and Type | Method and Description |
|---|---|
static <T> ToBoolean<T> |
Expressions.negate(ToBoolean<T> expression)
Creates and returns an expression that will compute the negative result
of the specified expression.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> ToBoolean<T> |
Expressions.negate(ToBoolean<T> expression)
Creates and returns an expression that will compute the negative result
of the specified expression.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ToBooleanOrElse<T>
Specialized
NonNullableExpression for boolean values where a
default value is given if the original expression returns null. |
interface |
ToBooleanOrElseGet<T>
Specialized
NonNullableExpression for boolean values where a
getter function is applied if the original expression returns null. |
interface |
ToBooleanOrThrow<T>
Specialized
NonNullableExpression for boolean values where a
NullPointerException is thrown if the original expression returns
null. |
Copyright © 2019 Speedment, Inc.. All rights reserved.