public 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 BooleanComparator 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, toString
copy, getBytecode, getFqcn, isValid, registerOid, setBytecode, setFqcn
addExtension, addName, addToRegistries, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, removeFromRegistries, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setRegistries, setSchemaName, setSpecification
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public ComparableComparator(String oid)
public int compare(Comparable<T> o1, Comparable<T> o2)
Comparator.compare(Object, Object)
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.