Package com.google.common.collect
Class Synchronized.SynchronizedList<E>
java.lang.Object
com.google.common.collect.Synchronized.SynchronizedObject
com.google.common.collect.Synchronized.SynchronizedCollection<E>
com.google.common.collect.Synchronized.SynchronizedList<E>
- All Implemented Interfaces:
Serializable,Iterable<E>,Collection<E>,List<E>
- Direct Known Subclasses:
Synchronized.SynchronizedRandomAccessList
- Enclosing class:
- Synchronized
private static class Synchronized.SynchronizedList<E>
extends Synchronized.SynchronizedCollection<E>
implements List<E>
-
Field Summary
FieldsFields inherited from class com.google.common.collect.Synchronized.SynchronizedObject
delegate, mutex -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanaddAll(int index, Collection<? extends E> c) delegate()booleanget(int index) inthashCode()intintlistIterator(int index) remove(int index) voidreplaceAll(UnaryOperator<E> operator) voidsort(Comparator<? super E> c) subList(int fromIndex, int toIndex) Methods inherited from class com.google.common.collect.Synchronized.SynchronizedCollection
add, addAll, clear, contains, containsAll, forEach, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArrayMethods inherited from class com.google.common.collect.Synchronized.SynchronizedObject
toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SynchronizedList
-
-
Method Details
-
delegate
- Overrides:
delegatein classSynchronized.SynchronizedCollection<E>
-
add
-
addAll
-
get
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
listIterator
- Specified by:
listIteratorin interfaceList<E>
-
remove
-
set
-
replaceAll
- Specified by:
replaceAllin interfaceList<E>
-
sort
-
subList
-
equals
-
hashCode
public int hashCode()
-