public static enum ContributionScanner.WeightedResourceSpecComparator extends Enum<ContributionScanner.WeightedResourceSpecComparator> implements Comparator<ContributionScanner.WeightedResourceSpec>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(ContributionScanner.WeightedResourceSpec o1,
ContributionScanner.WeightedResourceSpec o2) |
static ContributionScanner.WeightedResourceSpecComparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContributionScanner.WeightedResourceSpecComparator[] |
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, valueOfequalspublic static final ContributionScanner.WeightedResourceSpecComparator INSTANCE
public static ContributionScanner.WeightedResourceSpecComparator[] values()
for (ContributionScanner.WeightedResourceSpecComparator c : ContributionScanner.WeightedResourceSpecComparator.values()) System.out.println(c);
public static ContributionScanner.WeightedResourceSpecComparator 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(ContributionScanner.WeightedResourceSpec o1, ContributionScanner.WeightedResourceSpec o2)
compare in interface Comparator<ContributionScanner.WeightedResourceSpec>Copyright © 2017 Molindo GmbH. All Rights Reserved.