Module io.ebean.api

Class CopyOnFirstWriteList<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
io.ebean.common.CopyOnFirstWriteList<E>
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, List<E>

public final class CopyOnFirstWriteList<E> extends AbstractList<E> implements List<E>, Serializable
List that copies itself on first write access. Needed to keep memory footprint low and the ability to modify lists from cache.
Author:
Roland Praml, FOCONIS AG
See Also: