Ord<A> class abstract

Defines an order relation for type A.

Inheritance
Implementers

Constructors

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

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

compare(A x, A y) → int
Compares two values and returns an int indicating their order.
equals(A x, A 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