Class CollectionFilter<T>

  • All Implemented Interfaces:
    java.util.function.Predicate<T>

    public class CollectionFilter<T>
    extends java.lang.Object
    implements java.util.function.Predicate<T>
    A filter defined by set membership
    • Constructor Summary

      Constructors 
      Constructor Description
      CollectionFilter​(java.util.Collection<? extends T> S)  
    • Method Summary

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

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

        and, negate, or
    • Constructor Detail

      • CollectionFilter

        public CollectionFilter​(java.util.Collection<? extends T> S)
    • Method Detail

      • test

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