public class ListXImpl<T> extends java.lang.Object implements ListX<T>
Constructor and Description |
---|
ListXImpl() |
ListXImpl(java.util.List<T> list) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T element) |
boolean |
add(T e) |
boolean |
addAll(java.util.Collection<? extends T> c) |
boolean |
addAll(int index,
java.util.Collection<? extends T> c) |
void |
clear() |
<R,A> R |
collect(java.util.stream.Collector<? super T,A,R> collector)
Collect this collectable.
|
int |
compareTo(T o) |
boolean |
contains(java.lang.Object e) |
boolean |
containsAll(java.util.Collection<?> c) |
long |
count()
Count the values in this collectable.
|
boolean |
equals(java.lang.Object o) |
void |
forEach(java.util.function.Consumer<? super T> action) |
T |
get(int index) |
int |
hashCode() |
int |
indexOf(java.lang.Object o) |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<T> |
listIterator() |
java.util.ListIterator<T> |
listIterator(int index) |
java.util.stream.Stream<T> |
parallelStream() |
T |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
removeIf(java.util.function.Predicate<? super T> filter) |
void |
replaceAll(java.util.function.UnaryOperator<T> operator) |
boolean |
retainAll(java.util.Collection<?> c) |
T |
set(int index,
T element) |
int |
size() |
void |
sort(java.util.Comparator<? super T> c) |
java.util.Spliterator<T> |
spliterator() |
ListX<T> |
subList(int fromIndex,
int toIndex)
Create a sub sequence between the two supplied index
|
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cast, combinations, combinations, combine, cycle, cycle, cycleUntil, cycleWhile, defaultCollector, distinct, dropRight, dropUntil, dropWhile, empty, filter, filterNot, flatMap, from, fromIterable, fromIterable, fromPublisher, fromStream, generate, getCollector, grouped, grouped, grouped, grouped, groupedStatefullyUntil, groupedUntil, groupedUntil, groupedWhile, groupedWhile, immutableCollector, intersperse, iterate, limit, limitLast, limitUntil, limitWhile, listXCollector, map, minus, minus, minusAll, narrow, notNull, of, ofType, onEmpty, onEmptyGet, onEmptySwitch, onEmptyThrow, patternMatch, peek, permutations, plus, plus, plusAll, plusAll, plusInOrder, range, rangeLong, removeAll, removeAll, removeAll, removeAll, retainAll, retainAll, retainAll, retainAll, reverse, scanLeft, scanLeft, scanRight, scanRight, shuffle, shuffle, singleton, skip, skipLast, skipUntil, skipWhile, slice, sliding, sliding, sorted, sorted, sorted, stream, takeRight, takeUntil, takeWhile, toListX, trampoline, unfold, unit, unit, unitIterator, with, zip, zip, zip, zip, zip, zip, zip3, zip4, zipWithIndex
reduce
flatMapPublisher, flatMapPublisher, flatMapPublisher, mergePublisher, mergePublisher
endsWith, endsWithIterable, firstValue, foldRight, foldRight, foldRight, foldRightMapToType, get, join, join, join, mapReduce, mapReduce, print, print, printErr, printOut, reduce, reduce, reduce, reduce, reduce, reduce, schedule, scheduleFixedDelay, scheduleFixedRate, startsWith, startsWithIterable, toConcurrentLazyCollection, toConcurrentLazyStreamable, toLazyCollection, validate, xMatch
futureOperations, lazyOperations, subscribe, traversable
seq, toCompletableFuture, toDequeX, toEvalAlways, toEvalLater, toEvalNow, toFutureStream, toFutureStream, toFutureW, toIor, toIorSecondary, toMapX, toMaybe, toOptional, toPBagX, toPMapX, toPOrderedSetX, toPQueueX, toPSetX, toPStackX, toPVectorX, toQueueX, toSetX, toSimpleReact, toSimpleReact, toSortedSetX, toStreamable, toTry, toValue, toValueMap, toValueSet, toXor, toXorSecondary
public ListXImpl(java.util.List<T> list)
public ListXImpl()
public void forEach(java.util.function.Consumer<? super T> action)
forEach
in interface java.lang.Iterable<T>
public java.util.Iterator<T> iterator()
public int size()
public boolean contains(java.lang.Object e)
public boolean equals(java.lang.Object o)
public boolean isEmpty()
public int hashCode()
public java.lang.Object[] toArray()
public boolean removeAll(java.util.Collection<?> c)
public <T> T[] toArray(T[] a)
public boolean add(T e)
public boolean remove(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean addAll(java.util.Collection<? extends T> c)
public boolean retainAll(java.util.Collection<?> c)
public void clear()
public java.lang.String toString()
toString
in class java.lang.Object
public <R,A> R collect(java.util.stream.Collector<? super T,A,R> collector)
org.jooq.lambda.Collectable
collect
in interface CyclopsCollectable<T>
collect
in interface org.jooq.lambda.Collectable<T>
public long count()
org.jooq.lambda.Collectable
count
in interface CyclopsCollectable<T>
count
in interface org.jooq.lambda.Collectable<T>
public boolean addAll(int index, java.util.Collection<? extends T> c)
addAll
in interface java.util.List<T>
public void replaceAll(java.util.function.UnaryOperator<T> operator)
replaceAll
in interface java.util.List<T>
public boolean removeIf(java.util.function.Predicate<? super T> filter)
removeIf
in interface java.util.Collection<T>
public void sort(java.util.Comparator<? super T> c)
sort
in interface java.util.List<T>
public java.util.stream.Stream<T> parallelStream()
parallelStream
in interface java.util.Collection<T>
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<T>
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<T>
public java.util.ListIterator<T> listIterator()
listIterator
in interface java.util.List<T>
public java.util.ListIterator<T> listIterator(int index)
listIterator
in interface java.util.List<T>
public ListX<T> subList(int fromIndex, int toIndex)
FluentSequenceX
subList
in interface FluentSequenceX<T>
subList
in interface ListX<T>
subList
in interface MutableSequenceX<T>
subList
in interface java.util.List<T>
fromIndex
- Index of our sub sequence (inclusive)toIndex
- Index of our sub sequence (exclusive)public java.util.Spliterator<T> spliterator()