Class CacheableList<E>

Type Parameters:
E - the cacheable object type
All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess, SequencedCollection<E>, Cacheable, CacheableCollection<E>

public class CacheableList<E> extends ArrayList<E> implements CacheableCollection<E>
A utility class to create a cacheable List.
Since:
1.1
Version:
11.2
Author:
Luke
See Also:
  • Constructor Details

    • CacheableList

      public CacheableList(Object key)
      Initializes the cachable List.
      Parameters:
      key - the cache key
    • CacheableList

      public CacheableList(Object key, Collection<E> c)
      Converts a Collection into a cacheable List.
      Parameters:
      key - the cache key
      c - the Collection
    • CacheableList

      public CacheableList(CacheableCollection<E> cc)
      Copy constructor.
      Parameters:
      cc - the original CacheableCollection
  • Method Details