Interface NumExpr
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:
Domain<NumExpr>, Expr, NumericExpr
- All Known Implementing Classes:
NumField
public sealed interface NumExpr
extends NumericExpr, Domain<NumExpr>
permits NumField<V> (not exhaustive)
A
num expression: an integer or a float, decided by the data.
As a Domain, it gives a comprehension its elements, which are numbers too.
-
Method Summary
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, neModifier 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.
-
Method Details
-
neg
-
at
Returnsthis[index].- Parameters:
index- the index, counted from 0- Returns:
this[index]
-
at
Returnsthis[index].- Parameters:
index- the index, counted from 0- Returns:
this[index]
-