Range class

@fileoverview Represents a range

Implemented types

Constructors

Range.new(num minValue, num maxValue)

Properties

hashCode int
Implementation from Effective Java 2nd Edition Page 48
no setteroverride
maxValue num
getter/setter pair
minValue num
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

contains(num value) bool
Contains, containing bounds. Inclusive.
marshal(MarshalledObject marshalled) → void
serialise to this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overlaps(Range other) bool
Range overlaps other range
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Properties

PERCENT_RANGE Range
final

Static Methods

unmarshal(MarshalledObject marshalled) Range