public class SerializableComparator<E> extends LdapComparator<E> implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.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 java.util.Comparator<E> |
wrapped
the transient wrapped comparator
|
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification| Constructor and Description |
|---|
SerializableComparator(java.lang.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, toStringcopy, getBytecode, getFqcn, isValid, setBytecode, setFqcnaddExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setSchemaName, setSpecification, unlockprivate static final long serialVersionUID
private java.lang.String matchingRuleOid
private transient java.util.Comparator<E> wrapped
private transient SchemaManager schemaManager
public SerializableComparator(java.lang.String matchingRuleOid)
matchingRuleOid - The MatchingRule OIDpublic int compare(E o1, E o2)
compare in interface java.util.Comparator<E>Comparator.compare(java.lang.Object, java.lang.Object)public void setSchemaManager(SchemaManager schemaManager)
LdapComparatorsetSchemaManager in class LdapComparator<E>schemaManager - the schemaManager to set