public class IntegerRangeImpl extends AbstractList<Value> implements IntegerRange
Constructor and Description |
---|
IntegerRangeImpl(IntegerValue first,
IntegerValue last) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object o) |
IntegerValue |
get(int index) |
IntegerValue |
getFirst() |
IntegerValue |
getLast() |
IntegerValue |
getSize() |
Iterator<Value> |
iterator() |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
add, add, addAll, addAll, clear, containsAll, equals, hashCode, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public IntegerRangeImpl(IntegerValue first, IntegerValue last)
public boolean contains(Object o)
contains
in interface Collection<Value>
contains
in interface List<Value>
contains
in class AbstractCollection<Value>
public IntegerValue get(int index)
public IntegerValue getFirst()
getFirst
in interface IntegerRange
public IntegerValue getLast()
getLast
in interface IntegerRange
public IntegerValue getSize()
getSize
in interface IntegerRange
public Iterator<Value> iterator()
iterator
in interface Iterable<Value>
iterator
in interface Collection<Value>
iterator
in interface List<Value>
iterator
in interface IntegerRange
iterator
in class AbstractList<Value>
public int size()
size
in interface Collection<Value>
size
in interface List<Value>
size
in class AbstractCollection<Value>
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.