Class IncludeExclude<ITEM>

  • Type Parameters:
    ITEM - The type of element
    All Implemented Interfaces:

    public class IncludeExclude<ITEM>
    extends IncludeExcludeSet<ITEM,​ITEM>
    Utility class to maintain a set of inclusions and exclusions.

    This extension of the IncludeExcludeSet class is used when the type of the set elements is the same as the type of the predicate test.

    • Constructor Detail

      • IncludeExclude

        public IncludeExclude()
      • IncludeExclude

        public IncludeExclude​(java.lang.Class<SET> setClass)
      • IncludeExclude

        public IncludeExclude​(java.util.Set<ITEM> includeSet,
                              java.util.function.Predicate<ITEM> includePredicate,
                              java.util.Set<ITEM> excludeSet,
                              java.util.function.Predicate<ITEM> excludePredicate)