Class Range
java.lang.Object
com.googlecode.aviator.runtime.type.AviatorObject
com.googlecode.aviator.runtime.type.Range
- All Implemented Interfaces:
Sequence<Number>, Serializable, Iterable<Number>
A range in [start, end) with step.
- Since:
- 5.0.0
- Author:
- dennis(killme2008@gmail.com)
- See Also:
-
Field Summary
FieldsFields inherited from class AviatorObject
metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfirst()inthintSize()intinnerCompare(AviatorObject other, Map<String, Object> env) booleanisLoop()iterator()last()newCollector(int size) intsize()Methods inherited from class AviatorObject
add, bitAnd, bitNot, bitOr, bitXor, booleanValue, compare, compareEq, defineValue, deref, div, exponent, getElement, getMetadata, isNull, match, meta, mod, mult, neg, not, numberValue, setValue, shiftLeft, shiftRight, stringValue, sub, toString, unsignedShiftRight, withMeta, withoutMetaMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
LOOP
-
-
Constructor Details
-
Range
-
-
Method Details
-
isLoop
public boolean isLoop() -
desc
-
innerCompare
- Specified by:
innerComparein classAviatorObject
-
getAviatorType
- Specified by:
getAviatorTypein classAviatorObject
-
getValue
-
first
-
last
-
hintSize
-
size
public int size() -
newCollector
- Specified by:
newCollectorin interfaceSequence<Number>
-
iterator
-