Interface EqualityMatchingRule
-
- All Superinterfaces:
MatchingRule
@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface EqualityMatchingRule extends MatchingRule
This interface provides an API for interacting with equality matching rules, which can be used to determine whether one value is logically equivalent to another. The definition of "logically equal to" may vary based on the matching rule implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
areEqual(ByteString normValue1, ByteString normValue2)
Indicates whether the provided values are logically 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
-
areEqual
boolean areEqual(ByteString normValue1, ByteString normValue2)
Indicates whether the provided values are logically 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 logically equal to each other, orfalse
if not.
-
-