Class LazySet.NonCachingSet<E>

  • Type Parameters:
    E - the collection element type
    All Implemented Interfaces:
    java.lang.Iterable<E>, java.util.Collection<E>, java.util.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 Detail

      • NonCachingSet

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

      • createCache

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