MethodCallRange
represents the number of expected method calls.
static public DEFAULT_MINIMUM:Number
static public DEFAULT_MAXIMUM:Number
public function getMinimum(Void):Number
Returns the minimum of this range.
the set minimum
public function getMaximum(Void):Number
Returns the maximum of this range.
the set maximum
public function contains(quantity:Number):Boolean
Checks whether the passed-in quantity
is between the minimum and
maximum.
The quantity will be made positive if it is negative.
false
will be returned if:
quantity
is null
. quantity
is smaller than the minimum. quantity
is bigger than the maximum.quantity | the quantity |
true
if the quantity is contained by this range else
false
public function toString():String
Returns the string representation of this range.
the string representation of this range
toString() in org.as2lib.core.BasicInterface