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 ToBigDecimal<T> |
ToBigDecimal.abs() |
default ToBigDecimal<T> |
ToBigDecimal.map(UnaryOperator<BigDecimal> mapper) |
default ToBigDecimal<T> |
ToBigDecimal.negate() |
static <T> ToBigDecimal<T> |
ToBigDecimal.of(Function<T,BigDecimal> lambda)
Returns a typed
ToBigDecimal<T> using the provided
lambda . |
default ToBigDecimal<T> |
ToBigDecimalNullable.orElse(BigDecimal value) |
default ToBigDecimal<T> |
ToBigDecimalNullable.orElseGet(ToBigDecimal<T> getter) |
default ToBigDecimal<T> |
ToBigDecimalNullable.orThrow() |
Modifier and Type | Method and Description |
---|---|
default ToBigDecimal<T> |
ToBigDecimalNullable.orElseGet(ToBigDecimal<T> getter) |
Modifier and Type | Method and Description |
---|---|
static <T> ToBigDecimal<T> |
Expressions.negate(ToBigDecimal<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> ToBigDecimal<T> |
Expressions.negate(ToBigDecimal<T> expression)
Creates and returns an expression that will compute the negative result
of the specified expression.
|
static <T> ToByte<T> |
Expressions.sign(ToBigDecimal<T> expression)
Creates and returns an expression that returns
1 if the result of
the input expression is positive, -1 if the result of the input
expression is negative and 0 if the result of the input
expression is 0 . |
Modifier and Type | Interface and Description |
---|---|
interface |
ToBigDecimalOrElse<T>
Specialized
NonNullableExpression for BigDecimal values where a
default value is given if the original expression returns null . |
interface |
ToBigDecimalOrElseGet<T>
Specialized
NonNullableExpression for BigDecimal values where
a getter function is applied if the original expression returns null . |
interface |
ToBigDecimalOrThrow<T>
Specialized
NonNullableExpression for BigDecimal values where
a NullPointerException is thrown if the original expression returns
null . |
Copyright © 2018 Speedment, Inc.. All rights reserved.