Serializable
, Comparable<Edit.Type>
public static enum Edit.Type extends Enum<Edit.Type>
Enum Constant | Description |
---|---|
DELETE |
Sequence B has removed the region.
|
EMPTY |
Sequence A and B have zero length, describing nothing.
|
INSERT |
Sequence B has inserted the region.
|
REPLACE |
Sequence B has replaced the region with different content.
|
Modifier and Type | Method | Description |
---|---|---|
static Edit.Type |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Edit.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Edit.Type INSERT
public static final Edit.Type DELETE
public static final Edit.Type REPLACE
public static final Edit.Type EMPTY
public static Edit.Type[] values()
for (Edit.Type c : Edit.Type.values()) System.out.println(c);
public static Edit.Type 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 © 2018. All rights reserved.