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 ToString<T> |
ToEnum.asName()
Returns an alternative expression that represents the
Enum.name()
of the enum that would otherwise have been returned by this expression. |
default ToString<T> |
ToString.map(UnaryOperator<String> mapper) |
static <T> ToString<T> |
ToString.of(Function<T,String> lambda)
Returns a typed
ToString<T> using the provided lambda . |
default ToString<T> |
ToStringNullable.orElse(String value) |
default ToString<T> |
ToStringNullable.orElseGet(ToString<T> getter) |
default ToString<T> |
ToStringNullable.orThrow() |
default ToString<T> |
ToString.toLowerCase() |
default ToString<T> |
ToString.toUpperCase() |
Modifier and Type | Method and Description |
---|---|
default ToString<T> |
ToStringNullable.orElseGet(ToString<T> getter) |
Modifier and Type | Interface and Description |
---|---|
interface |
JoiningExpression<T>
A special type of
ToString expression that joins several strings
together using optionally a separator, a prefix and a suffix. |
Modifier and Type | Method and Description |
---|---|
static <T> ToString<T> |
Expressions.joining(CharSequence separator,
CharSequence prefix,
CharSequence suffix,
ToString<T>... expressions)
Returns an expression that represents the result of all the specified
expressions joined together with separators between them, with a prefix
before the entire result and a suffix after it, forming a single string.
|
static <T> ToString<T> |
Expressions.joining(CharSequence separator,
CharSequence prefix,
CharSequence suffix,
ToString<T> first,
ToString<T> second)
Returns an expression that represents the result of the two specified
expressions joined together with a separator between them, with a prefix
before the entire result and a suffix after it, forming a single string.
|
static <T> ToString<T> |
Expressions.joining(CharSequence separator,
ToString<T>... expressions)
Returns an expression that represents the result of all the specified
expressions joined together with separators between them, forming a
single string.
|
static <T> ToString<T> |
Expressions.joining(CharSequence separator,
ToString<T> first,
ToString<T> second)
Returns an expression that represents the result of the two specified
expressions joined together with a separator between them, forming a
single string.
|
static <T> ToString<T> |
Expressions.joining(ToString<T>... expressions)
Returns an expression that represents the result of all the specified
expressions joined together, forming a single string.
|
static <T> ToString<T> |
Expressions.joining(ToString<T> first,
ToString<T> second)
Returns an expression that represents the result of the two specified
expressions joined together, forming a single string.
|
Modifier and Type | Method and Description |
---|---|
List<ToString<T>> |
JoiningExpression.expressions()
Returns an unmodifiable list of the expressions that are joined together
in this expression.
|
Modifier and Type | Method and Description |
---|---|
static <T> ToString<T> |
Expressions.joining(CharSequence separator,
CharSequence prefix,
CharSequence suffix,
ToString<T>... expressions)
Returns an expression that represents the result of all the specified
expressions joined together with separators between them, with a prefix
before the entire result and a suffix after it, forming a single string.
|
static <T> ToString<T> |
Expressions.joining(CharSequence separator,
CharSequence prefix,
CharSequence suffix,
ToString<T> first,
ToString<T> second)
Returns an expression that represents the result of the two specified
expressions joined together with a separator between them, with a prefix
before the entire result and a suffix after it, forming a single string.
|
static <T> ToString<T> |
Expressions.joining(CharSequence separator,
CharSequence prefix,
CharSequence suffix,
ToString<T> first,
ToString<T> second)
Returns an expression that represents the result of the two specified
expressions joined together with a separator between them, with a prefix
before the entire result and a suffix after it, forming a single string.
|
static <T> ToString<T> |
Expressions.joining(CharSequence separator,
ToString<T>... expressions)
Returns an expression that represents the result of all the specified
expressions joined together with separators between them, forming a
single string.
|
static <T> ToString<T> |
Expressions.joining(CharSequence separator,
ToString<T> first,
ToString<T> second)
Returns an expression that represents the result of the two specified
expressions joined together with a separator between them, forming a
single string.
|
static <T> ToString<T> |
Expressions.joining(CharSequence separator,
ToString<T> first,
ToString<T> second)
Returns an expression that represents the result of the two specified
expressions joined together with a separator between them, forming a
single string.
|
static <T> ToString<T> |
Expressions.joining(ToString<T>... expressions)
Returns an expression that represents the result of all the specified
expressions joined together, forming a single string.
|
static <T> ToString<T> |
Expressions.joining(ToString<T> first,
ToString<T> second)
Returns an expression that represents the result of the two specified
expressions joined together, forming a single string.
|
static <T> ToString<T> |
Expressions.joining(ToString<T> first,
ToString<T> second)
Returns an expression that represents the result of the two specified
expressions joined together, forming a single string.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ToStringOrElse<T>
Specialized
NonNullableExpression for String values where a
default value is given if the original expression returns null . |
interface |
ToStringOrElseGet<T>
Specialized
NonNullableExpression for String values where a
getter function is applied if the original expression returns null . |
interface |
ToStringOrThrow<T>
Specialized
NonNullableExpression for String values where a
NullPointerException is thrown if the original expression returns
null . |
Copyright © 2019 Speedment, Inc.. All rights reserved.