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) |
int |
compareTo(T o) |
boolean |
contains(java.lang.Object e) |
boolean |
containsAll(java.util.Collection<?> c) |
long |
count() |
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) |
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, fromStream, getCollector, grouped, grouped, grouped, grouped, groupedStatefullyWhile, groupedUntil, groupedUntil, groupedWhile, groupedWhile, immutableCollector, intersperse, limit, limitLast, limitUntil, limitWhile, map, minus, minus, minusAll, notNull, of, ofType, onEmpty, onEmptyGet, onEmptyThrow, patternMatch, peek, permutations, plus, plus, plusAll, plusAll, plusInOrder, 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, unit, unit, unitIterator, with, zip, zip, zip, zip3, zip4, zipStream, zipWithIndex
flatMapPublisher, flatMapPublisher, flatMapPublisher, mergePublisher, mergePublisher
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>
action
- Iterable.forEach(java.util.function.Consumer)
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
AbstractCollection.toString()
public <R,A> R collect(java.util.stream.Collector<? super T,A,R> collector)
collect
in interface CyclopsCollectable<T>
collect
in interface org.jooq.lambda.Collectable<T>
public long count()
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>
index
- c
- List.addAll(int, java.util.Collection)
public void replaceAll(java.util.function.UnaryOperator<T> operator)
replaceAll
in interface java.util.List<T>
operator
- List.replaceAll(java.util.function.UnaryOperator)
public boolean removeIf(java.util.function.Predicate<? super T> filter)
removeIf
in interface java.util.Collection<T>
filter
- Collection.removeIf(java.util.function.Predicate)
public void sort(java.util.Comparator<? super T> c)
sort
in interface java.util.List<T>
c
- List.sort(java.util.Comparator)
public T get(int index)
get
in interface java.util.List<T>
index
- List.get(int)
public T set(int index, T element)
set
in interface java.util.List<T>
index
- element
- List.set(int, java.lang.Object)
public void add(int index, T element)
add
in interface java.util.List<T>
index
- element
- List.add(int, java.lang.Object)
public T remove(int index)
remove
in interface java.util.List<T>
index
- List.remove(int)
public java.util.stream.Stream<T> parallelStream()
parallelStream
in interface java.util.Collection<T>
Collection.parallelStream()
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<T>
o
- List.indexOf(java.lang.Object)
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<T>
o
- List.lastIndexOf(java.lang.Object)
public java.util.ListIterator<T> listIterator()
listIterator
in interface java.util.List<T>
List.listIterator()
public java.util.ListIterator<T> listIterator(int index)
listIterator
in interface java.util.List<T>
index
- List.listIterator(int)
public ListX<T> subList(int fromIndex, int toIndex)
subList
in interface FluentSequenceX<T>
subList
in interface ListX<T>
subList
in interface MutableSequenceX<T>
subList
in interface java.util.List<T>
fromIndex
- toIndex
- List.subList(int, int)
public java.util.Spliterator<T> spliterator()