Class CollectionFilter

  • All Implemented Interfaces:
    Filter

    public class CollectionFilter
    extends java.lang.Object
    implements Filter
    The type Collection filter.
    • Constructor Summary

      Constructors 
      Constructor Description
      CollectionFilter​(java.util.Collection col)
      Creates a new instance of CollectionFilter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accepts​(java.lang.Object o)
      Accepts boolean.
      java.util.Collection getCollection()
      Getter for property collection.
      void setCollection​(java.util.Collection collection)
      Setter for property collection.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CollectionFilter

        public CollectionFilter​(java.util.Collection col)
        Creates a new instance of CollectionFilter
        Parameters:
        col - the col
    • Method Detail

      • accepts

        public boolean accepts​(java.lang.Object o)
        Description copied from interface: Filter
        Accepts boolean.
        Specified by:
        accepts in interface Filter
        Parameters:
        o - the o
        Returns:
        the boolean
      • getCollection

        public java.util.Collection getCollection()
        Getter for property collection.
        Returns:
        Value of property collection.
      • setCollection

        public void setCollection​(java.util.Collection collection)
        Setter for property collection.
        Parameters:
        collection - New value of property collection.