Class ASTIntegerRange.IntegerRange
java.lang.Object
java.util.AbstractCollection<Integer>
java.util.AbstractList<Integer>
org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange
- All Implemented Interfaces:
Iterable<Integer>, Collection<Integer>, List<Integer>, SequencedCollection<Integer>
- Enclosing class:
ASTIntegerRange
- Author:
- Geir Magnusson Jr.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(int index) intiterator()intlistIterator(int index) intsize()Methods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, remove, removeRange, set, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Constructor Details
-
IntegerRange
public IntegerRange(int left, int right, int delta)
-
-
Method Details
-
iterator
-
get
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<Integer>- Overrides:
lastIndexOfin classAbstractList<Integer>
-
listIterator
- Specified by:
listIteratorin interfaceList<Integer>- Overrides:
listIteratorin classAbstractList<Integer>
-
listIterator
- Specified by:
listIteratorin interfaceList<Integer>- Overrides:
listIteratorin classAbstractList<Integer>
-
size
public int size()- Specified by:
sizein interfaceCollection<Integer>- Specified by:
sizein interfaceList<Integer>- Specified by:
sizein classAbstractCollection<Integer>
-