BoundedDouble class

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

Inheritance
Implemented types

Constructors

BoundedDouble(double bottom, double top)

Properties

bottom → double
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 → double
The upper bound of type A.
final

Methods

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