|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<InequalVersionComparisonResult> org.infinispan.container.versioning.InequalVersionComparisonResult
public enum InequalVersionComparisonResult
Versions can be compared to each other to result in one version being before, after or at the same time as another
version. This is different from the JDK's 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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final InequalVersionComparisonResult BEFORE
public static final InequalVersionComparisonResult AFTER
public static final InequalVersionComparisonResult EQUAL
public static final InequalVersionComparisonResult CONFLICTING
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
--> | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |