Package overit.geocall.util
Class UnmodifiableArrayList<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
overit.geocall.util.UnmodifiableArrayList<E>
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable,Serializable,Cloneable,Iterable<E>,Collection<E>,List<E>,RandomAccess,SequencedCollection<E>
public class UnmodifiableArrayList<E>
extends ArrayList<E>
implements com.esotericsoftware.kryo.KryoSerializable
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends E> c) booleanaddAll(Collection<? extends E> c) voidclear()clone()booleanbooleancontainsAll(@NotNull Collection<?> c) voidensureCapacity(int minCapacity) booleanvoidget(int index) inthashCode()intbooleanisEmpty()iterator()intlistIterator(int index) voidread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanprotected voidremoveRange(int fromIndex, int toIndex) voidreplaceAll(UnaryOperator<E> operator) booleanretainAll(Collection<?> c) intsize()voidsort(Comparator<? super E> c) stream()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(IntFunction<T[]> generator) <T> T[]toArray(T[] a) toString()voidvoidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) Methods inherited from class java.util.ArrayList
addFirst, addLast, getFirst, getLast, removeFirst, removeLast
-
Constructor Details
-
UnmodifiableArrayList
-
-
Method Details
-
sort
-
replaceAll
- Specified by:
replaceAllin interfaceList<E>- Overrides:
replaceAllin classArrayList<E>
-
removeIf
-
spliterator
- Specified by:
spliteratorin interfaceCollection<E>- Specified by:
spliteratorin interfaceIterable<E>- Specified by:
spliteratorin interfaceList<E>- Overrides:
spliteratorin classArrayList<E>
-
forEach
-
subList
-
iterator
-
listIterator
- Specified by:
listIteratorin interfaceList<E>- Overrides:
listIteratorin classArrayList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>- Overrides:
listIteratorin classArrayList<E>
-
retainAll
-
removeAll
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRangein classArrayList<E>
-
addAll
-
addAll
-
clear
public void clear() -
remove
-
hashCode
public int hashCode() -
equals
-
remove
-
add
-
add
-
set
-
get
-
toArray
public <T> T[] toArray(T[] a) -
toArray
-
toArray
- Specified by:
toArrayin interfaceCollection<E>
-
clone
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<E>- Overrides:
lastIndexOfin classArrayList<E>
-
indexOf
-
contains
-
isEmpty
public boolean isEmpty() -
size
public int size() -
ensureCapacity
public void ensureCapacity(int minCapacity) - Overrides:
ensureCapacityin classArrayList<E>
-
trimToSize
public void trimToSize()- Overrides:
trimToSizein classArrayList<E>
-
toString
- Overrides:
toStringin classAbstractCollection<E>
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>- Overrides:
containsAllin classAbstractCollection<E>
-
parallelStream
- Specified by:
parallelStreamin interfaceCollection<E>
-
stream
- Specified by:
streamin interfaceCollection<E>
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) - Specified by:
writein interfacecom.esotericsoftware.kryo.KryoSerializable
-
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
readin interfacecom.esotericsoftware.kryo.KryoSerializable
-