Package 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. The interfaces here also has default implementations, many which can
be obtained using utility classes. The idea is that an interface can either
be implemented using a lambda, but then without any metadata, or using one of
the pre-made utility classes, in which case metadata is preserved.
This package is part of the API.
- Since:
- 3.1.0
- Author:
- Emil Forslund
-
Interface Summary Interface Description ToBigDecimal<T> Expression that given an entity returns a non-nullBigDecimalvalue.ToBigDecimalNullable<T> Expression that given an entity returns a nullableBigDecimalvalue.ToBoolean<T> Expression that given an entity returns abooleanvalue.ToBooleanNullable<T> Expression that given an entity returns abooleanvalue, ornull.ToByte<T> Expression that given an entity returns abytevalue.ToByteNullable<T> Expression that given an entity returns abytevalue, ornull.ToChar<T> Expression that given an entity returns acharvalue.ToCharNullable<T> Expression that given an entity returns acharvalue, ornull.ToDouble<T> Expression that given an entity returns adoublevalue.ToDoubleNullable<T> Expression that given an entity returns adoublevalue, ornull.ToEnum<T,E extends Enum<E>> Expression that given an entity returns a non-nullenumvalue.ToEnumNullable<T,E extends Enum<E>> Expression that given an entity returns anenumvalue, ornull.ToFloat<T> Expression that given an entity returns afloatvalue.ToFloatNullable<T> Expression that given an entity returns afloatvalue, ornull.ToInt<T> Expression that given an entity returns anintvalue.ToIntNullable<T> Expression that given an entity returns anintvalue, ornull.ToLong<T> Expression that given an entity returns alongvalue.ToLongNullable<T> Expression that given an entity returns alongvalue, ornull.ToShort<T> Expression that given an entity returns ashortvalue.ToShortNullable<T> Expression that given an entity returns ashortvalue, ornull.ToString<T> Expression that given an entity returns a non-nullStringvalue.ToStringNullable<T> Expression that given an entity returns aStringvalue, ornull.