public static enum ConversionComparator.Comparison extends Enum<ConversionComparator.Comparison>
Enum Constant and Description |
---|
INDETERMINATE
The conversions cannot be compared.
|
TYPE_1_BETTER
The first conversion is better than the second one.
|
TYPE_2_BETTER
The second conversion is better than the first one.
|
Modifier and Type | Method and Description |
---|---|
static ConversionComparator.Comparison |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConversionComparator.Comparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConversionComparator.Comparison INDETERMINATE
public static final ConversionComparator.Comparison TYPE_1_BETTER
public static final ConversionComparator.Comparison TYPE_2_BETTER
public static ConversionComparator.Comparison[] values()
for (ConversionComparator.Comparison c : ConversionComparator.Comparison.values()) System.out.println(c);
public static ConversionComparator.Comparison 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 null
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-04-25-041322.buildd.src