public class ParentIdAndRdnComparator<I extends Comparable<I>> extends org.apache.directory.api.ldap.model.schema.comparators.SerializableComparator<ParentIdAndRdn>
ParentIdAndRdn
stored in the Rdn index.Constructor and Description |
---|
ParentIdAndRdnComparator(String matchingRuleOid)
Creates a new instance of ParentIdAndRdnComparator.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(ParentIdAndRdn rdn1,
ParentIdAndRdn rdn2) |
setSchemaManager
equals, getNormalizer, hashCode, toString
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcn
addExtension, addExtension, addName, clear, compareOid, computeHashCode, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlock
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public ParentIdAndRdnComparator(String matchingRuleOid)
matchingRuleOid
- The associated MatchingRulepublic int compare(ParentIdAndRdn rdn1, ParentIdAndRdn rdn2)
compare
in interface Comparator<ParentIdAndRdn>
compare
in class org.apache.directory.api.ldap.model.schema.comparators.SerializableComparator<ParentIdAndRdn>
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.