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 with value. Requires low <= 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 point lies 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 by otherLow/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