-
- All Implemented Interfaces:
public final class ExpressionExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static BooleanExpressionnot(Expression<Boolean> $self)Get a negation of this boolean expression final static BooleanExpressionand(Expression<Boolean> $self, Expression<Boolean> predicate)Get an intersection of this and the given expression final static BooleanExpressionor(Expression<Boolean> $self, Expression<Boolean> predicate)Get a union of this and the given expression final static BooleanExpressionxor(Expression<Boolean> $self, Expression<Boolean> predicate)Get a union of this and the given expression final static BooleanExpressionxnor(Expression<Boolean> $self, Expression<Boolean> predicate)Get a union of this and the given expression final static <T extends Comparable<?>, Number> NumberExpression<T>unaryMinus(Expression<T> $self)Get the negation of this expression final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T>plus(Expression<T> $self, Expression<V> other)Get the sum of this and right final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T>plus(Expression<T> $self, V other)Get the sum of this and right final static StringExpressionplus(Expression<String> $self, Expression<String> x)Get the concatenation of this and str final static StringExpressionplus(Expression<String> $self, String x)Get the concatenation of this and str final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T>minus(Expression<T> $self, Expression<V> other)Get the difference of this and right final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T>minus(Expression<T> $self, V other)Get the difference of this and right final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T>times(Expression<T> $self, Expression<V> other)Get the result of the operation this * right final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T>times(Expression<T> $self, V other)Get the result of the operation this * right final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T>div(Expression<T> $self, Expression<V> other)Get the result of the operation this / right final static <T extends Comparable<?>, Number, V extends Number, Comparable<?>> NumberExpression<T>div(NumberExpression<T> $self, Expression<V> other)Get the result of the operation this / right final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T>div(Expression<T> $self, V other)Get the result of the operation this / right final static <T extends Comparable<?>, Number, V extends Number, Comparable<?>> NumberExpression<T>div(NumberExpression<T> $self, V other)Get the result of the operation this / right final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T>rem(Expression<T> $self, Expression<V> other)Get the result of the operation this % right final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T>rem(Expression<T> $self, V other)Get the result of the operation this % right final static SimpleExpression<Character>get(Expression<String> $self, Expression<Integer> x)Get the character at the given index final static SimpleExpression<Character>get(Expression<String> $self, Integer x)Get the character at the given index -
-
Method Detail
-
not
final static BooleanExpression not(Expression<Boolean> $self)
Get a negation of this boolean expression
-
and
final static BooleanExpression and(Expression<Boolean> $self, Expression<Boolean> predicate)
Get an intersection of this and the given expression
- Parameters:
predicate- right hand side of the union
-
or
final static BooleanExpression or(Expression<Boolean> $self, Expression<Boolean> predicate)
Get a union of this and the given expression
- Parameters:
predicate- right hand side of the union
-
xor
final static BooleanExpression xor(Expression<Boolean> $self, Expression<Boolean> predicate)
Get a union of this and the given expression
- Parameters:
predicate- right hand side of the union
-
xnor
final static BooleanExpression xnor(Expression<Boolean> $self, Expression<Boolean> predicate)
Get a union of this and the given expression
- Parameters:
predicate- right hand side of the union
-
unaryMinus
final static <T extends Comparable<?>, Number> NumberExpression<T> unaryMinus(Expression<T> $self)
Get the negation of this expression
-
plus
final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T> plus(Expression<T> $self, Expression<V> other)
Get the sum of this and right
-
plus
final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T> plus(Expression<T> $self, V other)
Get the sum of this and right
-
plus
final static StringExpression plus(Expression<String> $self, Expression<String> x)
Get the concatenation of this and str
-
plus
final static StringExpression plus(Expression<String> $self, String x)
Get the concatenation of this and str
-
minus
final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T> minus(Expression<T> $self, Expression<V> other)
Get the difference of this and right
-
minus
final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T> minus(Expression<T> $self, V other)
Get the difference of this and right
-
times
final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T> times(Expression<T> $self, Expression<V> other)
Get the result of the operation this * right
-
times
final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T> times(Expression<T> $self, V other)
Get the result of the operation this * right
-
div
final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T> div(Expression<T> $self, Expression<V> other)
Get the result of the operation this / right
-
div
final static <T extends Comparable<?>, Number, V extends Number, Comparable<?>> NumberExpression<T> div(NumberExpression<T> $self, Expression<V> other)
Get the result of the operation this / right
-
div
final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T> div(Expression<T> $self, V other)
Get the result of the operation this / right
-
div
final static <T extends Comparable<?>, Number, V extends Number, Comparable<?>> NumberExpression<T> div(NumberExpression<T> $self, V other)
Get the result of the operation this / right
-
rem
final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T> rem(Expression<T> $self, Expression<V> other)
Get the result of the operation this % right
-
rem
final static <T extends Comparable<?>, Number, V extends Number> NumberExpression<T> rem(Expression<T> $self, V other)
Get the result of the operation this % right
-
get
final static SimpleExpression<Character> get(Expression<String> $self, Expression<Integer> x)
Get the character at the given index
-
-
-
-