Class BasePropertyPanel.CollectionContains

  • All Implemented Interfaces:
    IFilter<java.lang.String>
    Enclosing class:
    BasePropertyPanel

    public static final class BasePropertyPanel.CollectionContains
    extends java.lang.Object
    implements IFilter<java.lang.String>
    Collection containment filter.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Collection<java.lang.String> coll
      The collection.
    • Constructor Summary

      Constructors 
      Constructor Description
      CollectionContains​(java.util.Collection<java.lang.String> coll)
      Creates a new filter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean filter​(java.lang.String obj)
      Test if an object passes the filter.
      • Methods inherited from class java.lang.Object

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

      • coll

        protected java.util.Collection<java.lang.String> coll
        The collection.
    • Constructor Detail

      • CollectionContains

        public CollectionContains​(java.util.Collection<java.lang.String> coll)
        Creates a new filter.
        Parameters:
        coll - The collection.
    • Method Detail

      • filter

        public boolean filter​(java.lang.String obj)
        Test if an object passes the filter.
        Specified by:
        filter in interface IFilter<java.lang.String>
        Returns:
        True, if passes the filter.