using System;
namespace Org.BouncyCastle.Utilities.Collections
{
/// Interface for matching objects in an .
/// The contravariant type of selectable objects.
public interface ISelector
: ICloneable
{
/// Match the passed in object, returning true if it would be selected by this selector, false
/// otherwise.
/// The object to be matched.
/// true
if the objects is matched by this selector, false otherwise.
bool Match(T candidate);
}
}