summaryrefslogtreecommitdiff
path: root/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/Selector.java
blob: f36d12193cb08a29150cc43b9a5875a90125dd1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* GENERATED SOURCE. DO NOT MODIFY. */
package com.android.internal.org.bouncycastle.util;

/**
 * Interface a selector from a store should conform to.
 *
 * @param <T> the type stored in the store.
 * @hide This class is not part of the Android public SDK API
 */
public interface Selector<T>
    extends Cloneable
{
    /**
     * Match the passed in object, returning true if it would be selected by this selector, false otherwise.
     *
     * @param obj the object to be matched.
     * @return true if the object is a match for this selector, false otherwise.
     */
    boolean match(T obj);

    Object clone();
}