NumericExtents class
Represents the starting and ending extent of a dataset.
Constructors
- NumericExtents(num min, num max)
-
Precondition:
min<=max.const -
NumericExtents.fromValues(Iterable<
num> values) -
Returns
Extentsbased on the min and max of the given values. Returns NumericExtents.empty ifvaluesare emptyfactory
Properties
Methods
-
compareValue(
num value) → int -
Compares the given
valueagainst the extents. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overlaps(
NumericExtents other) → bool -
plus(
NumericExtents other) → NumericExtents - Returns the union of this and other.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- empty → const NumericExtents
- unbounded → const NumericExtents