Unbound<T extends Comparable<Object?> > class
final
An Unbound interval represents a convex (contiguous) portion of a domain unbounded on both ends, i.e. { x | x }
.
Properties
Methods
-
besides(
Range< T> other) → bool -
Returns
true
if an empty range exists between this andother
.override -
contains(
T value) → bool -
Returns
true
if this containsvalue
.override -
containsAll(
Iterable< T> values) → bool -
Returns
true
if this contains allvalues
.inherited -
encloses(
Range< T> other) → bool -
Returns
true
ifother
's bounds do not extend outside this bounds.override -
gap(
Range< T> other) → Interval<T> ? -
If this does not intersect
other
, returns the gap in between. Otherwise returnsnull
.override -
intersection(
Range< T> other) → Range<T> ? -
If this intersects
other
, returns the intersection. Otherwise returnsnull
.override -
intersects(
Range< T> other) → bool -
Returns
true
if a non-empty range exists between this andother
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override