E - The type of object to comparepublic class SerializableComparator<E> extends LdapComparator<E> implements Serializable
| Modifier and Type | Field and Description |
|---|---|
private String |
matchingRuleOid
the OID of the matchingRule for this comparator
|
private SchemaManager |
schemaManager
A reference to the schema manager
|
private static long |
serialVersionUID
The serial version UID
|
private Comparator<E> |
wrapped
the transient wrapped comparator
|
normalizerdescription, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification| Constructor and Description |
|---|
SerializableComparator(String matchingRuleOid)
Creates a new instance of SerializableComparator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(E o1,
E o2) |
void |
setSchemaManager(SchemaManager schemaManager)
Store the SchemaManager in this instance.
|
equals, getNormalizer, hashCode, toStringcopy, getBytecode, getFqcn, isValid, setBytecode, setFqcnaddExtension, 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, unlockclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprivate static final long serialVersionUID
private String matchingRuleOid
private transient Comparator<E> wrapped
private transient SchemaManager schemaManager
public SerializableComparator(String matchingRuleOid)
matchingRuleOid - The MatchingRule OIDpublic int compare(E o1, E o2)
compare in interface Comparator<E>public void setSchemaManager(SchemaManager schemaManager)
LdapComparatorsetSchemaManager in class LdapComparator<E>schemaManager - the schemaManager to setCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.