public class UuidComparator extends SerializableComparator<String>
| Modifier and Type | Field and Description |
|---|---|
static UuidComparator |
INSTANCE
A static instance of the UuidComparator
|
private static org.slf4j.Logger |
LOG
A logger for this class
|
private static long |
serialVersionUID
The serial version UID
|
normalizerdescription, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification| Constructor and Description |
|---|
UuidComparator(String oid)
The UUIDComparator constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(String uuid1,
String uuid2) |
int |
compare(UUID uuid1,
UUID uuid2)
Compare two UUID.
|
setSchemaManagerequals, 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 static final org.slf4j.Logger LOG
public static final UuidComparator INSTANCE
public UuidComparator(String oid)
oid - The Comparator's OIDpublic int compare(String uuid1, String uuid2)
compare in interface Comparator<String>compare in class SerializableComparator<String>Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.