Interface IntegralExpr
Javadoc 27 generates this reference during each site build from the exported packages and the annotation processor. The Java guide shows the API in use.
- All Superinterfaces:
Expr, NumericExpr
An expression that integer arithmetic and logic take: an integer or a dynamic value.
-
Method Summary
Modifier and TypeMethodDescriptiondefault IntExprand(long other) Returnsthis && other.default IntExprand(IntegralExpr other) Returnsthis && other.default IntExprdiv(long other) Returnsthis / other, rounding toward zero.default IntExprdiv(IntegralExpr other) Returnsthis / other, rounding toward zero.default IntExprminus(long other) Returnsthis - other.default IntExprminus(IntegralExpr other) Returnsthis - other.default IntExprmod(long other) Returnsthis % other, which has the sign ofthis.default IntExprmod(IntegralExpr other) Returnsthis % other, which has the sign ofthis.default IntExprnot()Returns!this.default IntExpror(long other) Returnsthis || other.default IntExpror(IntegralExpr other) Returnsthis || other.default IntExprplus(long other) Returnsthis + other.default IntExprplus(IntegralExpr other) Returnsthis + other.default IntExprpow(long other) Returnsthis ^ other.default IntExprpow(IntegralExpr other) Returnsthis ^ other.default IntExprtimes(long other) Returnsthis * other.default IntExprtimes(IntegralExpr other) Returnsthis * other.Methods inherited from interface Expr
dynamic, get, get, get, get, getModifier and TypeMethodDescriptiondefault DynExprdynamic()Returns this expression with no static type, which every method accepts.default DynExprReturnsthis.name, the field of the record this selects.default FloatExprget(FloatField<?> field) Returnsthis.name, the field of the record this selects.default IntExprReturnsthis.name, the field of the record this selects.default NumExprReturnsthis.name, the field of the record this selects.default StringExprget(StringField<?> field) Returnsthis.name, the field of the record this selects.Methods inherited from interface NumericExpr
eq, eq, eq, ge, ge, ge, gt, gt, gt, le, le, le, lt, lt, lt, ne, ne, ne, negModifier and TypeMethodDescriptiondefault IntExpreq(double other) Returnsthis == other.default IntExpreq(long other) Returnsthis == other.default IntExpreq(NumericExpr other) Returnsthis == other.default IntExprge(double other) Returnsthis >= other.default IntExprge(long other) Returnsthis >= other.default IntExprge(NumericExpr other) Returnsthis >= other.default IntExprgt(double other) Returnsthis > other.default IntExprgt(long other) Returnsthis > other.default IntExprgt(NumericExpr other) Returnsthis > other.default IntExprle(double other) Returnsthis <= other.default IntExprle(long other) Returnsthis <= other.default IntExprle(NumericExpr other) Returnsthis <= other.default IntExprlt(double other) Returnsthis < other.default IntExprlt(long other) Returnsthis < other.default IntExprlt(NumericExpr other) Returnsthis < other.default IntExprne(double other) Returnsthis != other.default IntExprne(long other) Returnsthis != other.default IntExprne(NumericExpr other) Returnsthis != other.neg()Returns-this.
-
Method Details
-
plus
Returnsthis + other.- Parameters:
other- the right operand- Returns:
this + other
-
plus
Returnsthis + other.- Parameters:
other- the right operand- Returns:
this + other
-
minus
Returnsthis - other.- Parameters:
other- the right operand- Returns:
this - other
-
minus
Returnsthis - other.- Parameters:
other- the right operand- Returns:
this - other
-
times
Returnsthis * other.- Parameters:
other- the right operand- Returns:
this * other
-
times
Returnsthis * other.- Parameters:
other- the right operand- Returns:
this * other
-
div
Returnsthis / other, rounding toward zero.- Parameters:
other- the right operand- Returns:
this / other, rounding toward zero
-
div
Returnsthis / other, rounding toward zero.- Parameters:
other- the right operand- Returns:
this / other, rounding toward zero
-
mod
Returnsthis % other, which has the sign ofthis.- Parameters:
other- the right operand- Returns:
this % other, which has the sign ofthis
-
mod
Returnsthis % other, which has the sign ofthis.- Parameters:
other- the right operand- Returns:
this % other, which has the sign ofthis
-
pow
Returnsthis ^ other.- Parameters:
other- the right operand- Returns:
this ^ other
-
pow
Returnsthis ^ other.- Parameters:
other- the right operand- Returns:
this ^ other
-
and
Returnsthis && other.- Parameters:
other- the right operand- Returns:
this && other
-
and
Returnsthis && other.- Parameters:
other- the right operand- Returns:
this && other
-
or
Returnsthis || other.- Parameters:
other- the right operand- Returns:
this || other
-
or
Returnsthis || other.- Parameters:
other- the right operand- Returns:
this || other
-
not
-