Package org.eclipse.collections.impl.list.mutable
This package contains implementations of the
MutableList interface.
A MutableList is an implementation of a List which provides methods matching the Smalltalk Collection protocol.
This package contains the following implementations:
-
FastList- an array-backed list which provides optimized internal iterators. -
ArrayListAdapter- a MutableList wrapper around anArrayListinstance. -
CompositeFastList- behaves like a list, but is composed of one or more lists. -
ListAdapter- a MutableList wrapper around aListinterface instance. -
RandomAccessListAdapter- a MutableList wrapper around aListinterface instance. -
MultiReaderFastList- provides a thread-safe wrapper around a FastList, using aReentrantReadWriteLock. -
SynchronizedMutableList- a synchronized view of a list. -
UnmodifiableMutableList- an unmodifiable view of a list.
This package contains one factory implementation:
-
MutableListFactoryImpl- a factory which creates instances of typeMutableList.
-
Class Summary Class Description AbstractListAdapter<T> AbstractMutableList<T> ArrayListAdapter<T> This class provides a MutableList wrapper around a JDK Collections ArrayList instance.CompositeFastList<E> CompositeFastList behaves like a list, but is composed of at least one list.FastList<T> FastList is an attempt to provide the same functionality as ArrayList without the support for concurrent modification exceptions.ListAdapter<T> This class provides a MutableList wrapper around a JDK Collections List interface instance.MultiReaderFastList<T> MultiReadFastList provides a thread-safe wrapper around a FastList, using a ReentrantReadWriteLock.MultiReaderMutableListFactory MutableIterator<T> MutableListFactoryImpl MutableListIterator<T> RandomAccessListAdapter<T> This class provides a MutableList wrapper around a JDK Collections List interface instance.SynchronizedMutableList<T> A synchronized view of aMutableList.UnmodifiableListIteratorAdapter<T> UnmodifiableMutableList<T> An unmodifiable view of a list.