Interface Selector<T>

  • Type Parameters:
    T - the type stored in the store.
    All Superinterfaces:
    java.lang.Cloneable
    All Known Implementing Classes:
    PKIXCertStoreSelector, PKIXCRLStoreSelector

    public interface Selector<T>
    extends java.lang.Cloneable
    Interface a selector from a store should conform to.
    • Method Summary

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

      • match

        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.
      • clone

        java.lang.Object clone()