public enum InequalVersionComparisonResult extends Enum<InequalVersionComparisonResult>
Comparable
interface, which is much more simplistic in that it
doesn't differentiate between something that is the same versus equal-but-different.Enum Constant and Description |
---|
AFTER
Denotes a version that was created temporally after another version.
|
BEFORE
Denotes a version that was created temporally before another version.
|
CONFLICTING
Denotes a version that was created at the same time as another version, but is not equal.
|
EQUAL
Denotes that the two versions being comapred are equal.
|
Modifier and Type | Method and Description |
---|---|
static InequalVersionComparisonResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InequalVersionComparisonResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InequalVersionComparisonResult BEFORE
public static final InequalVersionComparisonResult AFTER
public static final InequalVersionComparisonResult EQUAL
public static final InequalVersionComparisonResult CONFLICTING
public static InequalVersionComparisonResult[] values()
for (InequalVersionComparisonResult c : InequalVersionComparisonResult.values()) System.out.println(c);
public static InequalVersionComparisonResult 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 © 2012 JBoss by Red Hat. All Rights Reserved.