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
Extents
based on the min and max of the given values. Returns NumericExtents.empty ifvalues
are emptyfactory
Properties
Methods
-
compareValue(
num value) → int -
Compares the given
value
against 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