T
- the input entity typepublic interface JoiningExpression<T> extends ToString<T>
ToString
expression that joins several strings
together using optionally a separator, a prefix and a suffix.Modifier and Type | Method and Description |
---|---|
List<ToString<T>> |
expressions()
Returns an unmodifiable list of the expressions that are joined together
in this expression.
|
CharSequence |
prefix()
Returns the prefix to put in front of the result of this expression.
|
CharSequence |
separator()
Returns the separator that will be placed in-between the results of all
the
expressions() to separate them. |
CharSequence |
suffix()
Returns the suffix to put at the end of the result of this expression.
|
apply, compare, compose, expressionType, hash, map, of, toLowerCase, toUpperCase
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
List<ToString<T>> expressions()
prefix()
,
separator()
and suffix()
.CharSequence prefix()
CharSequence suffix()
CharSequence separator()
expressions()
to separate them. If no separator is used,
then this method will return an empty string.Copyright © 2018 Speedment, Inc.. All rights reserved.