Class FloatField<V extends @Nullable Object>
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.
java.lang.Object
dev.gecode.iris.Field<V>
dev.gecode.iris.build.FloatField<V>
- Type Parameters:
V- the Java type of the entry's value
- All Implemented Interfaces:
Domain<FloatExpr>, Expr, FloatExpr, NumericExpr
A handle of a float entry. In a builder it is an expression; after reading,
data.get(handle) returns the entry as V.
The factories such as Iris.float0(String) make handles that any builder may use: the first use
in a builder declares the name with the handle's type, depth and presence, and Builder.build() checks every definition against them.
-
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-
optional
Returns this handle for an entry that may be absent, for whichgetreturns null.- Returns:
- this handle for an entry that may be absent, for which
getreturns null - Throws:
IllegalStateException- for a handle fromforwardor a definition, whose presence its builder fixed
-
readFrom
Description copied from class:FieldReads the entry of this handle fromdata. -
toString
-