Class LazySet.NonCachingSet<E>

Type Parameters:
E - the collection element type
All Implemented Interfaces:
Iterable<E>, Collection<E>, Set<E>
Direct Known Subclasses:
LazySet.ExcludingSet, LazySet.IncludingSet
Enclosing class:
LazySet<E>

public abstract static class LazySet.NonCachingSet<E> extends LazySet<E>
Abstract LazySet that disables caching of the underlying LazySet.
  • Constructor Details

    • NonCachingSet

      public NonCachingSet(LazySet<E> dataSource)
      Creates a LazySet.NonCachingSet around dataSource.
      Parameters:
      dataSource - the underlying collection
  • Method Details

    • createCache

      protected void createCache()
      Creates the cache collections.
      Overrides:
      createCache in class LazySet<E>