public static enum ReportComparator.Strategy extends Enum<ReportComparator.Strategy>
Enum Constant and Description |
---|
DIRECT
The result of a comparison is determines solely by directly comparing the two elements of the same type
|
HIERARCHICAL
The result of a comparison of two elements is determined by first recursively determining the order of the
parents of the two elements and only if the parents are equal to each other is the order determined by
comparing the two elements.
|
Modifier and Type | Method and Description |
---|---|
static ReportComparator.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportComparator.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportComparator.Strategy DIRECT
public static final ReportComparator.Strategy HIERARCHICAL
public static ReportComparator.Strategy[] values()
for (ReportComparator.Strategy c : ReportComparator.Strategy.values()) System.out.println(c);
public static ReportComparator.Strategy 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 nullCopyright © 2014-2021 Lukas Krejci. All Rights Reserved.