Package io.agroal.pool.util
Class UncheckedArrayList<T>
java.lang.Object
io.agroal.pool.util.UncheckedArrayList<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>
- Author:
- Luis Barreiro
-
Constructor Summary
ConstructorsConstructorDescriptionUncheckedArrayList(Class<?> clazz) UncheckedArrayList(Class<?> clazz, T[] initial) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends T> c) booleanaddAll(Collection<? extends T> c) voidclear()booleanbooleancontainsAll(Collection<?> c) voidget(int index) intbooleanisEmpty()iterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanvoidreplaceAll(UnaryOperator<T> operator) booleanretainAll(Collection<?> c) intsize()voidsort(Comparator<? super T> c) stream()subList(int fromIndex, int toIndex) Object[]toArray()<E> E[]toArray(E[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
toArray
-
Constructor Details
-
UncheckedArrayList
-
UncheckedArrayList
-
-
Method Details
-
add
-
get
-
remove
-
clear
public void clear() -
size
public int size() -
isEmpty
public boolean isEmpty() -
set
-
remove
-
contains
-
iterator
-
toArray
-
toArray
public <E> E[] toArray(E[] a) -
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
add
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
subList
-
stream
- Specified by:
streamin interfaceCollection<T>
-
parallelStream
- Specified by:
parallelStreamin interfaceCollection<T>
-
forEach
-
spliterator
- Specified by:
spliteratorin interfaceCollection<T>- Specified by:
spliteratorin interfaceIterable<T>- Specified by:
spliteratorin interfaceList<T>
-
removeIf
- Specified by:
removeIfin interfaceCollection<T>
-
replaceAll
- Specified by:
replaceAllin interfaceList<T>
-
sort
-