Class LazyArrayList<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
one.microstream.collections.lazy.LazyArrayList<E>
Type Parameters:
E - the type of elements in this collection
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, RandomAccess, LazyCollection<E>, LazyList<E>

public final class LazyArrayList<E>
extends AbstractList<E>
implements LazyList<E>, RandomAccess
LazyList implementation according to the specifications of ArrayList.

Lazy-loaded segments are used internally to achieve the partial loading. The maximum size of these segments can be specified within the constructor.
This implementation requires an active microstream storage with specialized type handlers. Without those handles a correct behavior is not guaranteed. The required handlers are: BinaryHandlerLazyArrayList BinaryHandlerControlledLazy
This list tries to unload segments depending on the provided LazySegmentUnloader. By default, it will use the LazySegmentUnloader.Default that keeps two segments loaded.