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>
,SequencedCollection<E>
- Direct Known Subclasses:
Synchronized.SynchronizedRandomAccessList
- Enclosing class:
Synchronized
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 TypeMethodDescriptionvoid
boolean
addAll
(int index, Collection<? extends E> c) delegate()
boolean
get
(int index) int
hashCode()
int
int
listIterator
(int index) remove
(int index) void
replaceAll
(UnaryOperator<E> operator) void
sort
(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, toArray
Methods inherited from class com.google.common.collect.Synchronized.SynchronizedObject
toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
delegate
in classSynchronized.SynchronizedCollection<E>
-
add
-
addAll
-
get
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<E>
-
listIterator
- Specified by:
listIterator
in interfaceList<E>
-
listIterator
- Specified by:
listIterator
in interfaceList<E>
-
remove
-
set
-
replaceAll
- Specified by:
replaceAll
in interfaceList<E>
-
sort
-
subList
-
equals
-
hashCode
public int hashCode()
-