Interface ApproximateMatchingRule
-
- All Superinterfaces:
MatchingRule
@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface ApproximateMatchingRule extends MatchingRule
This interface provides an API for interacting with approximate matching rules, which can be used to determine whether one value is approximately equal to another. The definition of "approximately equal to" may vary based on the matching rule implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
approximatelyMatch(ByteString normValue1, ByteString normValue2)
Indicates whether the provided values are approximately equal to each other.-
Methods inherited from interface com.unboundid.directory.sdk.common.schema.MatchingRule
equals, getDescription, getName, getNameOrOID, getOID, getSyntaxOID, hashCode, hasNameOrOID, isObsolete, normalizeValue, normalizeValue, toString, valuesMatch
-
-
-
-
Method Detail
-
approximatelyMatch
boolean approximatelyMatch(ByteString normValue1, ByteString normValue2)
Indicates whether the provided values are approximately equal to each other.- Parameters:
normValue1
- The normalized form of the first value for which to make the determination.normValue2
- The normalized form of the second value for which to make the determination.- Returns:
true
if the values are considered approximately equal to each other, orfalse
if not.
-
-