Package org.ldaptive.filter
Class AndFilter
- java.lang.Object
-
- org.ldaptive.filter.AndFilter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ldaptive.filter.Filter
Filter.Type
-
-
Field Summary
Fields Modifier and Type Field Description private List<Filter>filterComponentsComponents of this filter.private static intHASH_CODE_SEEDhash code seed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Filter component)Adds a search filter to this set.booleanequals(Object o)List<Filter>getComponents()Returns the components of this filter.DEREncodergetEncoder()Returns the encoder for this filter.Filter.TypegetType()Returns the type of filter set.inthashCode()StringtoString()
-
-
-
Field Detail
-
HASH_CODE_SEED
private static final int HASH_CODE_SEED
hash code seed.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AndFilter
public AndFilter()
Default constructor.
-
AndFilter
public AndFilter(Filter... components)
Creates a new and filter.- Parameters:
components- of this filter
-
-
Method Detail
-
getType
public Filter.Type getType()
Description copied from interface:FilterSetReturns the type of filter set.
-
add
public void add(Filter component)
Description copied from interface:FilterSetAdds a search filter to this set.
-
getComponents
public List<Filter> getComponents()
Returns the components of this filter.- Returns:
- filter components
-
getEncoder
public DEREncoder getEncoder()
Description copied from interface:FilterReturns the encoder for this filter.- Specified by:
getEncoderin interfaceFilter- Returns:
- DER encoder
-
-