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>
filterComponents
Components of this filter.private static int
HASH_CODE_SEED
hash code seed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Filter component)
Adds a search filter to this set.boolean
equals(Object o)
List<Filter>
getComponents()
Returns the components of this filter.DEREncoder
getEncoder()
Returns the encoder for this filter.Filter.Type
getType()
Returns the type of filter set.int
hashCode()
String
toString()
-
-
-
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:FilterSet
Returns the type of filter set.
-
add
public void add(Filter component)
Description copied from interface:FilterSet
Adds 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:Filter
Returns the encoder for this filter.- Specified by:
getEncoder
in interfaceFilter
- Returns:
- DER encoder
-
-