public enum JavaPackageNameComparator extends Enum<JavaPackageNameComparator> implements Comparator<jdepend.framework.JavaPackage>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(jdepend.framework.JavaPackage package1,
jdepend.framework.JavaPackage package2) |
static JavaPackageNameComparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaPackageNameComparator[] |
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 JavaPackageNameComparator INSTANCE
public static JavaPackageNameComparator[] values()
for (JavaPackageNameComparator c : JavaPackageNameComparator.values()) System.out.println(c);
public static JavaPackageNameComparator 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(jdepend.framework.JavaPackage package1,
jdepend.framework.JavaPackage package2)
compare in interface Comparator<jdepend.framework.JavaPackage>Copyright © 2014–2021 SciJava. All rights reserved.