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.orelse |
Modifier and Type | Method and Description |
---|---|
default ToEnum<T,E> |
ToEnum.map(UnaryOperator<E> mapper) |
static <T,E extends Enum<E>> |
ToEnum.of(Class<E> enumClass,
Function<T,E> lambda)
Returns a typed
ToEnum<T> using the provided
lambda . |
default ToEnum<T,E> |
ToEnumNullable.orElse(E value) |
default ToEnum<T,E> |
ToEnumNullable.orElseGet(ToEnum<T,E> getter) |
default ToEnum<T,E> |
ToEnumNullable.orThrow() |
Modifier and Type | Method and Description |
---|---|
default ToEnum<T,E> |
ToEnumNullable.orElseGet(ToEnum<T,E> getter) |
Modifier and Type | Interface and Description |
---|---|
interface |
ToEnumOrElse<T,E extends Enum<E>>
Specialized
NonNullableExpression for Enum values where a
default value is given if the original expression returns null . |
interface |
ToEnumOrElseGet<T,E extends Enum<E>>
Specialized
NonNullableExpression for double values where a
getter function is applied if the original expression returns null . |
interface |
ToEnumOrThrow<T,E extends Enum<E>>
Specialized
NonNullableExpression for Enum values where a
NullPointerException is thrown if the original expression returns
null . |
Copyright © 2018 Speedment, Inc.. All rights reserved.