public class ClassComparator extends Object implements Comparator<Class>, Serializable
Set. This Comparator implementation has been
created to return proper value for compare method and to make it possible to store classes in any
Set.
Created: Sat Oct 9 22:27:54 2004
| Constructor and Description |
|---|
ClassComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Class c1,
Class c2)
Method
compare is used to perform |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(Class c1, Class c2)
compare is used to performcompare in interface Comparator<Class>c1 - an Object valuec2 - an Object valueint valueCopyright © 2004–2019 "Tigase, Inc.". All rights reserved.