Class IncludeExcludeSet.SetContainsPredicate<T>

  • All Implemented Interfaces:
    java.util.function.Predicate<T>
    Enclosing class:
    IncludeExcludeSet<T,​P>

    private static class IncludeExcludeSet.SetContainsPredicate<T>
    extends java.lang.Object
    implements java.util.function.Predicate<T>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Set<T> set  
    • Constructor Summary

      Constructors 
      Constructor Description
      SetContainsPredicate​(java.util.Set<T> set)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean test​(T item)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Field Detail

      • set

        private final java.util.Set<T> set
    • Constructor Detail

      • SetContainsPredicate

        public SetContainsPredicate​(java.util.Set<T> set)
    • Method Detail

      • test

        public boolean test​(T item)
        Specified by:
        test in interface java.util.function.Predicate<T>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object