T - the type, must extend Comparablepublic class ComparableComparator<T> extends LdapComparator<Comparable<T>>
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification| Constructor and Description |
|---|
ComparableComparator(String oid)
The ComparableComparator constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Comparable<T> o1,
Comparable<T> o2)
Compares two objects taking into account that one may be a Comparable.
|
equals, setSchemaManager, 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, unlockclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic ComparableComparator(String oid)
oid - the comparator OIDpublic int compare(Comparable<T> o1, Comparable<T> o2)
o1 - the first comparableo2 - the second comparableCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.