Interval class

Implemented types

Constructors

Interval.between(int a, int b, {bool lowerClosed = false, bool upperClosed = false})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
lowerBound int
final
lowerClosed bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
upperBound int
final
upperClosed bool
final

Methods

adjacentTo(Interval other) bool
comes_before(Interval other) bool
compareTo(dynamic other) int
Compares this object to another object.
override
join(Interval other) Interval
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overlaps(Interval other) bool
toString() String
A string representation of this object.
override

Operators

operator &(Interval other) Interval
operator ==(Object other) bool
The equality operator.
inherited
operator |(Interval other) Interval

Static Methods

none() Interval