Package org.ldaptive.filter
Class EqualityFilter
- java.lang.Object
-
- org.ldaptive.filter.AbstractAttributeValueAssertionFilter
-
- org.ldaptive.filter.EqualityFilter
-
- All Implemented Interfaces:
Filter
public class EqualityFilter extends AbstractAttributeValueAssertionFilter
Equality search filter component.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ldaptive.filter.Filter
Filter.Type
-
-
Field Summary
Fields Modifier and Type Field Description private static int
HASH_CODE_SEED
hash code seed.-
Fields inherited from class org.ldaptive.filter.AbstractAttributeValueAssertionFilter
assertionValue, attributeDesc, filterType
-
-
Constructor Summary
Constructors Constructor Description EqualityFilter(String name, byte[] value)
Creates a new equality filter.EqualityFilter(String name, String value)
Creates a new equality filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
-
Methods inherited from class org.ldaptive.filter.AbstractAttributeValueAssertionFilter
getAssertionValue, getAttributeDesc, getEncoder, toString
-
-
-
-
Field Detail
-
HASH_CODE_SEED
private static final int HASH_CODE_SEED
hash code seed.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EqualityFilter
public EqualityFilter(String name, String value)
Creates a new equality filter.- Parameters:
name
- attribute descriptionvalue
- attribute value
-
EqualityFilter
public EqualityFilter(String name, byte[] value)
Creates a new equality filter.- Parameters:
name
- attribute descriptionvalue
- attribute value
-
-
Method Detail
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAbstractAttributeValueAssertionFilter
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classAbstractAttributeValueAssertionFilter
-
-