| 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. |
| Modifier and Type | Method and Description |
|---|---|
default ToByteNullable<T> |
ToByteNullable.abs() |
default <V> ToByteNullable<V> |
ToByte.compose(Function<? super V,? extends T> before) |
default <V> ToByteNullable<V> |
ToByteNullable.compose(Function<? super V,? extends T> before) |
default ToByteNullable<T> |
ToByteNullable.mapIfPresent(com.speedment.common.function.ByteUnaryOperator mapper) |
default ToByteNullable<T> |
ToByteNullable.negate() |
static <T> ToByteNullable<T> |
ToByteNullable.of(Function<T,Byte> lambda)
Returns a typed
ToByteNullable<T> using the provided
lambda. |
default ToByteNullable<T> |
ToLongNullable.sign() |
default ToByteNullable<T> |
ToIntNullable.sign() |
default ToByteNullable<T> |
ToByteNullable.sign() |
default ToByteNullable<T> |
ToShortNullable.sign() |
default ToByteNullable<T> |
ToFloatNullable.sign() |
default ToByteNullable<T> |
ToDoubleNullable.sign() |
| Modifier and Type | Method and Description |
|---|---|
static <T> ToByteNullable<T> |
Expressions.absOrNull(ToByteNullable<T> expression)
Returns an expression that takes an expression and returns its absolute
(removing the negation sign if any).
|
static <T> ToByteNullable<T> |
Expressions.negateOrNull(ToByteNullable<T> expression)
Creates and returns an expression that will compute the negative result
of the specified expression.
|
static <T> ToByteNullable<T> |
Expressions.signOrNull(ToByteNullable<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. |
static <T> ToByteNullable<T> |
Expressions.signOrNull(ToDoubleNullable<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. |
static <T> ToByteNullable<T> |
Expressions.signOrNull(ToFloatNullable<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. |
static <T> ToByteNullable<T> |
Expressions.signOrNull(ToIntNullable<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. |
static <T> ToByteNullable<T> |
Expressions.signOrNull(ToLongNullable<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. |
static <T> ToByteNullable<T> |
Expressions.signOrNull(ToShortNullable<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 | Method and Description |
|---|---|
static <T> ToByteNullable<T> |
Expressions.absOrNull(ToByteNullable<T> expression)
Returns an expression that takes an expression and returns its absolute
(removing the negation sign if any).
|
static <T> ToDoubleNullable<T> |
Expressions.byteToDoubleNullable(ToByteNullable<T> expression)
Creates and returns an expression that converts the result of the
specified expression into a
double by casting. |
static <T> ToByteNullable<T> |
Expressions.negateOrNull(ToByteNullable<T> expression)
Creates and returns an expression that will compute the negative result
of the specified expression.
|
static <T> ToDoubleNullable<T> |
Expressions.powOrNull(ToByteNullable<T> expression,
double power)
Creates and returns an expression that takes the result of an input
expression and multiplies it with itself
power times. |
static <T> ToDoubleNullable<T> |
Expressions.powOrNull(ToByteNullable<T> expression,
int power)
Creates and returns an expression that takes the result of an input
expression and multiplies it with itself
power times. |
static <T> ToDoubleNullable<T> |
Expressions.powOrNull(ToByteNullable<T> expression,
ToDouble<T> power)
Creates and returns an expression that takes the result of an input
expression and multiplies it with itself as many times as the result of
applying
power to the input. |
static <T> ToDoubleNullable<T> |
Expressions.powOrNull(ToByteNullable<T> expression,
ToInt<T> power)
Creates and returns an expression that takes the result of an input
expression and multiplies it with itself as many times as the result of
applying
power to the input. |
static <T> ToByteNullable<T> |
Expressions.signOrNull(ToByteNullable<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. |
static <T> ToDoubleNullable<T> |
Expressions.sqrtOrNull(ToByteNullable<T> expression)
Creates and returns an expression that returns the square root of the
result from the input expression.
|
Copyright © 2019 Speedment, Inc.. All rights reserved.