T - Collection typepublic class MagicList<T> extends ArrayList<T>
modCount| Constructor and Description | 
|---|
| MagicList() | 
| MagicList(Collection<T> collection) | 
| MagicList(T... ts) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addAll(int i,
                                    T... ts) | 
| void | addAll(T... ts) | 
| <Q> MagicList<Q> | castConvert() | 
| <Q> MagicList<Q> | castConvert(Class<Q> cls) | 
| <U,R> MagicList<R> | collect(BiFunction<T,U,R> function,
                                    U argument) | 
| <R> MagicList<R> | collect(Function<T,R> function) | 
| T[] | toArray() | 
| ArrayList<T> | toArrayList() | 
| Set<T> | toSet() | 
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic MagicList()
public MagicList(Collection<T> collection)
@SafeVarargs public MagicList(T... ts)
public <U,R> MagicList<R> collect(BiFunction<T,U,R> function, U argument)
public <Q> MagicList<Q> castConvert()
public T[] toArray()
@SafeVarargs public final void addAll(T... ts)
@SafeVarargs public final void addAll(int i, T... ts)
Copyright © 2020. All rights reserved.