| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private static final long | |
| private transient int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(Integer integer)
Implements java. Appends the specified element to the end of this list (optional operation). |
| public void | add(int index, Integer element)
Implements java. Inserts the specified element at the specified position in this list (optional operation). |
| public boolean | addAll(Collection<? extends Integer> collection)
Implements java. Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator (optional operation). |
| public boolean | addAll(int index, Collection<? extends Integer> collection)
Implements java. Inserts all of the elements in the specified collection into this list at the specified position (optional operation). |
| public <R extends Collection | |
| private BigInteger | |
| public Interval | |
| private void | |
| public void | clear()
Implements java. Removes all of the elements from this list (optional operation). |
| public <T, R extends Collection | collect(Function<? super Integer, ? extends T> function, R target)
Overrides org. Implements org. Same as |
| public boolean | contains(Object object)
Overrides org. Implements java. Returns |
| public boolean | |
| public boolean | |
| public boolean | |
| public LazyIterable | distinct()
Overrides org. Implements org. Creates a deferred distinct iterable to get distinct elements from the current iterable. |
| public LazyIterable | drop(int count)
Overrides org. Implements org. Creates a deferred drop iterable for the current iterable using the specified count as the limit. |
| public void | each(Procedure<? super Integer> procedure)
Implements org. The procedure is executed for each element in the iterable. |
| public boolean | equals(Object otherList)
Overrides java. Implements java. Compares the specified object with this list for equality. |
| public static Interval | evensFromTo(int from, int to)
Returns an Interval representing the even values from the value from to the value to. |
| private void | executeAndCountdown(Procedure<? super Integer> procedure, Executor executor, CountDownLatch latch, Integer integer)
|
| public Number | |
| private void | |
| public void | |
| public void | |
| public void | |
| public <P> void | |
| public <P> void | forEachWith(Procedure2<? super Integer, ? super P> procedure, P parameter)
Overrides org. Implements org. The procedure2 is evaluated for each element in the iterable with the specified parameter provided as the second argument. |
| public void | |
| public void | forEachWithIndex(ObjectIntProcedure<? super Integer> objectIntProcedure)
Overrides org. Implements org. Iterates over the iterable passing each element and the current relative int index to the specified instance of ObjectIntProcedure. |
| public void | forEachWithIndex(ObjectIntProcedure<? super Integer> objectIntProcedure, int startIndex, int endIndex)
|
| public static Interval | |
| public static Interval | fromTo(int from, int to)
Returns an Interval starting from the value from to the specified value to with a step value of 1. |
| public static Interval | fromToBy(int from, int to, int stepBy)
Returns an Interval for the range of integers inclusively between from and to with the specified stepBy value. |
| public static Interval | fromToExclusive(int from, int to)
Returns an Interval starting from the value from until the specified value to (exclusive) with a step value of 1. |
| public Integer | get(int index)
Implements java. Returns the element at the specified position in this list. |
| public Integer | getFirst()
Overrides org. Overrides default java. Implements org. Gets the first element of this collection. |
| public Integer | getLast()
Overrides org. Overrides default java. Implements org. Gets the last element of this collection. |
| private boolean | |
| public int | hashCode()
Overrides java. Implements java. Returns the hash code value for this list. |
| public int | indexOf(Object object)
Implements java. Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element. |
| public <R> R | injectInto(R injectValue, Function2<? super R, ? super Integer, ? extends R> function)
Overrides org. Implements org. Returns the final result of evaluating function using each element of the iterable and the previous evaluation result as the parameters. |
| public int | injectInto(int injectedValue, IntObjectToIntFunction<? super Integer> function)
Overrides org. Implements org. Returns the final int result of evaluating function using each element of the iterable and the previous evaluation result as the parameters. |
| public long | injectInto(long injectedValue, LongObjectToLongFunction<? super Integer> function)
Overrides org. Implements org. Returns the final long result of evaluating function using each element of the iterable and the previous evaluation result as the parameters. |
| public double | injectInto(double injectedValue, DoubleObjectToDoubleFunction<? super Integer> function)
Overrides org. Implements org. Returns the final double result of evaluating function using each element of the iterable and the previous evaluation result as the parameters. |
| private boolean | |
| public Iterator | iterator()
Implements java. Returns an iterator over the elements in this list in proper sequence. |
| public int | lastIndexOf(Object object)
Implements java. Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element. |
| public ListIterator | listIterator()
Implements java. Returns a list iterator over the elements in this list (in proper sequence). |
| public ListIterator | listIterator(int index)
Implements java. Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list. |
| public static Interval | oddsFromTo(int from, int to)
Returns an Interval representing the odd values from the value from to the value to. |
| public static Interval | oneTo(int count)
Returns an Interval starting from 1 to the specified count value with a step value of 1. |
| public static Interval | oneToBy(int count, int step)
Returns an Interval starting from 1 to the specified count value with a step value of step. |
| public Number | |
| private void | |
| public <R extends Collection | reject(Predicate<? super Integer> predicate, R target)
Overrides org. Implements org. Same as the reject method with one parameter but uses the specified target collection for the results. |
| public boolean | remove(Object o)
Implements java. Removes the first occurrence of the specified element from this list, if it is present (optional operation). |
| public Integer | remove(int index)
Implements java. Removes the element at the specified position in this list (optional operation). |
| public boolean | removeAll(Collection<?> collection)
Implements java. Removes from this list all of its elements that are contained in the specified collection (optional operation). |
| public boolean | retainAll(Collection<?> collection)
Implements java. Retains only the elements in this list that are contained in the specified collection (optional operation). |
| public void | |
| public <R> R | |
| public Interval | reverseThis()
Returns a new interval with the from and to values reversed and the step value negated. |
| public void | |
| public void | |
| public <R extends Collection | select(Predicate<? super Integer> predicate, R target)
Overrides org. Implements org. Same as the select method with one parameter but uses the specified target collection for the results. |
| public Integer | set(int index, Integer element)
Implements java. Replaces the element at the specified position in this list with the specified element (optional operation). |
| public int | size()
Overrides org. Implements java. Returns the size of the interval. |
| public Interval | subList(int fromIndex, int toIndex)
Implements java. Returns a view of the portion of this list between the specified
|
| public LazyIterable | take(int count)
Overrides org. Implements org. Creates a deferred take iterable for the current iterable using the specified count as the limit. |
| public Interval | |
| public static Integer[] | |
| public Integer[] | toArray()
Overrides default org. Implements java. Returns an array containing all of the elements in this list in proper sequence (from first to last element). |
| public <E> E[] | toArray(E[] array)
Overrides default org. Implements java. Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array. |
| public MutableBag | toBag()
Overrides org. Implements org. Converts the collection to the default MutableBag implementation. |
| public int[] | |
| public MutableList | toList()
Overrides org. Implements org. Converts the collection to a MutableList implementation. |
| public static Integer[] | |
| public static MutableList | toReverseList(int from, int to)
Returns a MutableList representing the Integer values from the value from to the value to in reverse. |
| public static MutableSet | toSet(int from, int to)
Returns a Set representing the Integer values from the value from to the value to. |
| public MutableSet | toSet()
Overrides org. Implements org. Converts the collection to a MutableSet implementation. |
| public String | toString()
Overrides org. Implements org. Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets. |
| private int | |
| public static Interval | |
| public static Interval | zeroTo(int count)
Returns an Interval starting from 0 to the specified count value with a step value of 1. |
| public static Interval | zeroToBy(int count, int step)
Returns an Interval starting from 0 to the specified count value with a step value of step. |