public enum PartialOrderComparisonResult extends Enum<PartialOrderComparisonResult>
| Enum Constant and Description |
|---|
EQUAL |
GREATER_THAN |
LESSER_THAN |
NOT_COMPARABLE |
| Modifier and Type | Method and Description |
|---|---|
static PartialOrderComparisonResult |
fromTotalOrderComparison(int cmp) |
boolean |
isDefined() |
int |
toTotalOrderComparison() |
static PartialOrderComparisonResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartialOrderComparisonResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartialOrderComparisonResult EQUAL
public static final PartialOrderComparisonResult LESSER_THAN
public static final PartialOrderComparisonResult GREATER_THAN
public static final PartialOrderComparisonResult NOT_COMPARABLE
public static PartialOrderComparisonResult[] values()
for (PartialOrderComparisonResult c : PartialOrderComparisonResult.values()) System.out.println(c);
public static PartialOrderComparisonResult 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 boolean isDefined()
public static PartialOrderComparisonResult fromTotalOrderComparison(int cmp)
public int toTotalOrderComparison()
Copyright © 2016–2017. All rights reserved.