BoundedInt class

A bounded order instance for integer type with specified lower and upper bounds.

Inheritance
Implemented types

Constructors

BoundedInt(int bottom, int top)

Properties

bottom int
The lower bound of type A.
final
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
top int
The upper bound of type A.
final

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