Interface Selector

  • All Implemented Interfaces:
    java.lang.Cloneable

    
    public interface Selector<T>
     implements Cloneable
                        

    Interface a selector from a store should conform to.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean match(T obj) Match the passed in object, returning true if it would be selected by this selector, false otherwise.
      abstract Object clone()
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • match

         abstract boolean match(T obj)

        Match the passed in object, returning true if it would be selected by this selector, false otherwise.

        Parameters:
        obj - the object to be matched.
        Returns:

        true if the object is a match for this selector, false otherwise.