public enum PluginComparator extends Enum<PluginComparator> implements Comparator<Object>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object o2)
Compares to
Plugin or ReportPlugin instances. |
static PluginComparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluginComparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final PluginComparator INSTANCE
public static PluginComparator[] values()
for (PluginComparator c : PluginComparator.values()) System.out.println(c);
public static PluginComparator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int compare(Object o1, Object o2)
Plugin or ReportPlugin instances.compare in interface Comparator<Object>o1 - the first objecto2 - the second object.Comparator.compare(Object, Object)Copyright © 2008–2022 MojoHaus. All rights reserved.