Selector (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.util

## 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

    Methods
    Modifier and Type | Method and 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()