public class Range extends java.lang.Object implements Obj, java.lang.Iterable<Int>, NativeObject<java.util.List<java.lang.Integer>>
| Constructor and Description |
|---|
Range(int start,
int end) |
Range(int start,
int end,
boolean exclusive) |
| Modifier and Type | Method and Description |
|---|---|
Obj |
get(Int index) |
Obj |
get(Obj key)
Get operator in AJE.
|
Obj |
getAttr(java.lang.String name)
Attribute operator in AJE.
|
int |
getEnd() |
int |
getStart() |
Type |
getType() |
java.util.Iterator<Int> |
iterator() |
int |
size() |
java.util.List<java.lang.Integer> |
toNative() |
java.lang.String |
toString() |
Vector |
toVector() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final Type TYPE
public Range(int start,
int end)
public Range(int start,
int end,
boolean exclusive)
public int getStart()
public int getEnd()
public java.util.List<java.lang.Integer> toNative()
toNative in interface NativeObject<java.util.List<java.lang.Integer>>toNative in interface Objnull if it doesn't implement the
NativeObject interface.public Type getType()
public Vector toVector()
public java.lang.String toString()
toString in class java.lang.Objectpublic Obj get(Obj key)
Obja[b].
Undefined.VALUE if not implemented.public java.util.Iterator<Int> iterator()
iterator in interface java.lang.Iterable<Int>public int size()
public Obj getAttr(java.lang.String name)
Obja.b.
Undefined.VALUE if not implemented.