public class IntegerRangeImpl extends java.util.AbstractList<Value> implements IntegerRange
Modifier and Type | Field and Description |
---|---|
protected IntegerValue |
first |
protected IntegerValue |
fullSize |
protected IntegerValue |
last |
protected java.lang.Integer |
size |
Constructor and Description |
---|
IntegerRangeImpl(IntegerValue first,
IntegerValue last) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.Object o) |
IntegerValue |
get(int index) |
IntegerValue |
getFirst() |
IntegerValue |
getLast() |
IntegerValue |
getSize() |
java.util.Iterator<Value> |
iterator() |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
@NonNull protected final IntegerValue first
@NonNull protected final IntegerValue last
@NonNull protected final IntegerValue fullSize
protected final java.lang.Integer size
public IntegerRangeImpl(@NonNull IntegerValue first, @NonNull IntegerValue last)
public boolean contains(java.lang.Object o)
@NonNull public IntegerValue get(int index)
@NonNull public IntegerValue getFirst()
getFirst
in interface IntegerRange
@NonNull public IntegerValue getLast()
getLast
in interface IntegerRange
@NonNull public IntegerValue getSize()
getSize
in interface IntegerRange
@NonNull public java.util.Iterator<Value> iterator()