IntegerRangeHint class final

Integer bounds. Port of IntegerRangeHint.

Inheritance

Constructors

IntegerRangeHint()
Creates a hint with no bounds yet.

Properties

hashCode → int
The hash code for this object.
no setterinherited
max → IntegerValue?
The maximum, or null if none.
no setterinherited
maxInclusive ↔ bool
Whether the maximum itself is allowed.
getter/setter pairinherited
min → IntegerValue?
The minimum, or null if none.
no setterinherited
minInclusive ↔ bool
Whether the minimum itself is allowed.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unit → double
The probing step.
no setteroverride

Methods

castToValue(double value) → IntegerValue
The answer for a probed value.
override
init(EvaluationContext context, XPathExpression constraint, FormInstance instance) → void
Analyses constraint (evaluated with context, whose context node is the question) against instance. Throws UnpivotableExpressionException if it can't.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited