Interface JoiningExpression<T>

    • Method Detail

      • expressions

        List<ToString<T>> expressions()
        Returns an unmodifiable list of the expressions that are joined together in this expression. Whenever an entity is passed to this expression, the result will be the result of passing the same entity to all these expressions and joining them together with an optional prefix(), separator() and suffix().
        Returns:
        unmodifiable list of expressions that make up this expression
      • prefix

        CharSequence prefix()
        Returns the prefix to put in front of the result of this expression. If no prefix is used, then this method will return an empty string.
        Returns:
        the prefix
      • suffix

        CharSequence suffix()
        Returns the suffix to put at the end of the result of this expression. If no suffix is used, then this method will return an empty string.
        Returns:
        the suffix
      • separator

        CharSequence separator()
        Returns the separator that will be placed in-between the results of all the expressions() to separate them. If no separator is used, then this method will return an empty string.
        Returns:
        the separator