Class UuidComparator
java.lang.Object
org.apache.directory.api.ldap.model.schema.AbstractSchemaObject
org.apache.directory.api.ldap.model.schema.LoadableSchemaObject
org.apache.directory.api.ldap.model.schema.LdapComparator<String>
org.apache.directory.api.ldap.model.schema.comparators.SerializableComparator<String>
org.apache.directory.api.ldap.model.schema.comparators.UuidComparator
- All Implemented Interfaces:
Serializable, Comparator<String>, SchemaObject
A comparator for UUID. We simply use the UUID compareTo method.
- Author:
- Apache Directory Project
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UuidComparatorA static instance of the UuidComparatorFields inherited from class LdapComparator
normalizerFields inherited from class AbstractSchemaObject
description, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SerializableComparator
setSchemaManagerMethods inherited from class LdapComparator
equals, getNormalizer, hashCode, toStringMethods inherited from class LoadableSchemaObject
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcnMethods inherited from class AbstractSchemaObject
addExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, rehash, rehashBase, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlockMethods inherited from interface Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
INSTANCE
A static instance of the UuidComparator
-
-
Constructor Details
-
UuidComparator
The UUIDComparator constructor. Its OID is the UUIDMatch matching rule OID.- Parameters:
oid- The Comparator's OID
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<String>- Overrides:
comparein classSerializableComparator<String>
-
compare
-