Package org.ldaptive.filter
Class ApproximateFilter
- java.lang.Object
-
- org.ldaptive.filter.AbstractAttributeValueAssertionFilter
-
- org.ldaptive.filter.ApproximateFilter
-
- All Implemented Interfaces:
Filter
public class ApproximateFilter extends AbstractAttributeValueAssertionFilter
Approximate search filter component defined as:(attributeDescription~=attributeValue)
-
-
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 ApproximateFilter(String name, byte[] value)
Creates a new approximate filter.ApproximateFilter(String name, String value)
Creates a new approximate 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
-
ApproximateFilter
public ApproximateFilter(String name, String value)
Creates a new approximate filter.- Parameters:
name
- attribute descriptionvalue
- attribute value
-
ApproximateFilter
public ApproximateFilter(String name, byte[] value)
Creates a new approximate 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
-
-