IntervalEntry<T> class
One inclusive interval [low, high] carrying a value.
- Annotations
Constructors
- IntervalEntry(num low, num high, T value)
-
Creates an interval
[low, high](inclusive) labeled withvalue. Requireslow <= high. Audited: 2026-06-12 11:26 EDT
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- high → num
-
Inclusive upper bound.
final
- low → num
-
Inclusive lower bound.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
The payload this interval carries (an event, range owner, etc.).
final
Methods
-
contains(
num point) → bool -
Whether
pointlies within[low, high](inclusive). Audited: 2026-06-12 11:26 EDT -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overlaps(
num otherLow, num otherHigh) → bool -
Whether this interval overlaps the inclusive range
[low, high]given byotherLow/otherHigh. Two inclusive ranges overlap iff each starts at or before the other ends. Audited: 2026-06-12 11:26 EDT -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override