Selector (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.util

## Interface Selector<T>

- Type Parameters:
    `T` - the type stored in the store.
  All Superinterfaces:
    java.lang.Cloneable

      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 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()