public static enum DeleteTracker.DeleteCompare extends Enum<DeleteTracker.DeleteCompare>
The codes tell the merging function what to do.
INCLUDE means add the specified Delete to the merged list. NEXT means move to the next element in the specified list(s).
Enum Constant and Description |
---|
INCLUDE_NEW_NEXT_BOTH |
INCLUDE_NEW_NEXT_NEW |
INCLUDE_OLD_NEXT_BOTH |
INCLUDE_OLD_NEXT_OLD |
NEXT_NEW |
NEXT_OLD |
Modifier and Type | Method and Description |
---|---|
static DeleteTracker.DeleteCompare |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeleteTracker.DeleteCompare[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeleteTracker.DeleteCompare INCLUDE_OLD_NEXT_OLD
public static final DeleteTracker.DeleteCompare INCLUDE_OLD_NEXT_BOTH
public static final DeleteTracker.DeleteCompare INCLUDE_NEW_NEXT_NEW
public static final DeleteTracker.DeleteCompare INCLUDE_NEW_NEXT_BOTH
public static final DeleteTracker.DeleteCompare NEXT_OLD
public static final DeleteTracker.DeleteCompare NEXT_NEW
public static DeleteTracker.DeleteCompare[] values()
for (DeleteTracker.DeleteCompare c : DeleteTracker.DeleteCompare.values()) System.out.println(c);
public static DeleteTracker.DeleteCompare 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 © 2007–2019 The Apache Software Foundation. All rights reserved.