Bounded<A> class abstract

Defines a bounded type A which extends the Ord type.

A bounded type has an upper and lower limit.

Inheritance
Implementers

Constructors

Bounded(int compare(A x, A y))

Properties

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

Methods

compare(A x, A y) int
Compares two values and returns an int indicating their order.
inherited
equals(A x, A y) bool
Returns true if the two values are equal according to the compare function.
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