V
- the type of the scalar values (elements of the field on which all the operations are based on)public class ScalarExpressionSupport<V>
extends java.lang.Object
Constructor and Description |
---|
ScalarExpressionSupport(ExtendedField<V> field) |
Modifier and Type | Method and Description |
---|---|
OngoingDeferredBinaryOperation<V> |
calculate(Expression<V> left) |
OngoingDeferredBinaryOperation<V> |
calculate(V left) |
protected ExtendedField<V> |
field() |
Expression<V> |
inverseOf(Expression<V> element) |
Expression<V> |
inverseOf(V element) |
Expression<V> |
negativeOf(Expression<V> element) |
Expression<V> |
negativeOf(V element) |
V |
one() |
Expression<V> |
squareOf(Expression<V> value) |
Expression<V> |
squareOf(V value) |
Expression<V> |
squareRootOf(Expression<V> value) |
Expression<V> |
squareRootOf(V value) |
OngoingDeferredBinaryPredicate<V> |
testIf(Expression<V> expression) |
V |
two() |
V |
zero() |
public ScalarExpressionSupport(ExtendedField<V> field)
public final Expression<V> negativeOf(V element)
public final Expression<V> negativeOf(Expression<V> element)
public final Expression<V> inverseOf(V element)
public final Expression<V> inverseOf(Expression<V> element)
protected ExtendedField<V> field()
public final V zero()
public final V two()
public final V one()
public Expression<V> squareRootOf(V value)
public Expression<V> squareRootOf(Expression<V> value)
public Expression<V> squareOf(V value)
public Expression<V> squareOf(Expression<V> value)
public OngoingDeferredBinaryOperation<V> calculate(V left)
public OngoingDeferredBinaryOperation<V> calculate(Expression<V> left)
public OngoingDeferredBinaryPredicate<V> testIf(Expression<V> expression)