| Modifier and Type | Field and Description |
|---|---|
protected Promotion |
prom |
protected Number |
start |
protected Number |
step |
protected Number |
to |
| Constructor and Description |
|---|
RangeList(Number start,
Number to,
Number step)
Construct RangeList from interval of numbers with step.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Number element) |
boolean |
add(Number num) |
boolean |
addAll(Collection<? extends Number> col) |
boolean |
addAll(int index,
Collection<? extends Number> col) |
void |
clear() |
boolean |
contains(Object obj) |
boolean |
containsAll(Collection<?> col) |
Number |
get(int index) |
int |
indexOf(Object obj) |
boolean |
isEmpty() |
Iterator<Number> |
iterator() |
int |
lastIndexOf(Object obj) |
ListIterator<Number> |
listIterator() |
ListIterator<Number> |
listIterator(int index) |
Number |
remove(int index) |
boolean |
remove(Object obj) |
boolean |
removeAll(Collection<?> col) |
boolean |
retainAll(Collection<?> col) |
Number |
set(int index,
Number element) |
int |
size() |
List<Number> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] arr) |
protected Number |
unlimGet(int index) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streamprotected final Promotion prom
protected Number start
protected Number to
protected Number step
public int size()
public boolean isEmpty()
public boolean contains(Object obj)
public Object[] toArray()
public <T> T[] toArray(T[] arr)
public boolean remove(Object obj)
public boolean containsAll(Collection<?> col)
containsAll in interface Collection<Number>containsAll in interface List<Number>public boolean addAll(Collection<? extends Number> col)
public boolean addAll(int index,
Collection<? extends Number> col)
public boolean removeAll(Collection<?> col)
public boolean retainAll(Collection<?> col)
public void clear()
protected Number unlimGet(int index)
public boolean add(Number num)
public int lastIndexOf(Object obj)
lastIndexOf in interface List<Number>public ListIterator<Number> listIterator()
listIterator in interface List<Number>public ListIterator<Number> listIterator(int index)
listIterator in interface List<Number>Copyright © 2022. All rights reserved.