public static class ASTIntegerRange.IntegerRange
extends java.util.AbstractList<java.lang.Integer>
Modifier and Type | Class and Description |
---|---|
class |
ASTIntegerRange.IntegerRange.RangeIterator |
Modifier and Type | Field and Description |
---|---|
private int |
delta |
private int |
left |
private int |
right |
Constructor and Description |
---|
IntegerRange(int left,
int right,
int delta) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
get(int index) |
int |
indexOf(java.lang.Object o) |
java.util.Iterator<java.lang.Integer> |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<java.lang.Integer> |
listIterator() |
java.util.ListIterator<java.lang.Integer> |
listIterator(int index) |
int |
size() |
add, add, addAll, clear, equals, hashCode, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public java.util.Iterator<java.lang.Integer> iterator()
iterator
in interface java.lang.Iterable<java.lang.Integer>
iterator
in interface java.util.Collection<java.lang.Integer>
iterator
in interface java.util.List<java.lang.Integer>
iterator
in class java.util.AbstractList<java.lang.Integer>
public java.lang.Integer get(int index)
get
in interface java.util.List<java.lang.Integer>
get
in class java.util.AbstractList<java.lang.Integer>
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<java.lang.Integer>
indexOf
in class java.util.AbstractList<java.lang.Integer>
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<java.lang.Integer>
lastIndexOf
in class java.util.AbstractList<java.lang.Integer>
public java.util.ListIterator<java.lang.Integer> listIterator()
listIterator
in interface java.util.List<java.lang.Integer>
listIterator
in class java.util.AbstractList<java.lang.Integer>
public java.util.ListIterator<java.lang.Integer> listIterator(int index)
listIterator
in interface java.util.List<java.lang.Integer>
listIterator
in class java.util.AbstractList<java.lang.Integer>
public int size()
size
in interface java.util.Collection<java.lang.Integer>
size
in interface java.util.List<java.lang.Integer>
size
in class java.util.AbstractCollection<java.lang.Integer>