Interface OptionalExpression<T>

    • Method Detail

      • get

        Expression<T> get()
        Accessor for the object within the Optional.
        Returns:
        Expression for the object
      • isPresent

        BooleanExpression isPresent()
        Accessor for whether there is an object within the Optional.
        Returns:
        Whether there is an expression
      • orElse

        Expression<T> orElse​(Expression<T> other)
        Accessor for the value expression (if present), otherwise return the other expression.
        Parameters:
        other - Other expression
        Returns:
        Return the value if present, otherwise return other