Class ShallowList<X>

Type Parameters:
X - the list type
All Implemented Interfaces:
Serializable, Cloneable, Iterable<X>, Collection<X>, List<X>, RandomAccess

public class ShallowList<X> extends ArrayList<X>
Used to prevent immutables deep cloning for lists. A shallow list will always be copied in situ to a new immutable.
See Also:
  • Constructor Details

    • ShallowList

      public ShallowList()
  • Method Details