BoundedInt class
A bounded order instance for integer type with specified lower and upper bounds.
Constructors
- BoundedInt(int bottom, int top)
Properties
Methods
-
compare(
int x, int y) → int -
Compares two values and returns an int indicating their order.
inherited
-
equals(
int x, int y) → bool -
Returns true if the two values are equal according to the compare function.
override
-
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