Top Description Fields Constructors Methods
com.github.difflib.patch

public final Enum DeltaType

extends Enum<DeltaType>
Class Inheritance

Specifies the type of the delta. There are three types of modifications from the original to get the revised text. CHANGE: a block of data of the original is replaced by another block of data. DELETE: a block of data of the original is removed INSERT: at a position of the original a block of data is inserted to be complete there is also EQUAL: a block of data of original and the revised text is equal which is no change at all.

Field Summary

Modifier and TypeField and Description
public static final DeltaType
CHANGE

A change in the original.

public static final DeltaType
DELETE

A delete from the original.

public static final DeltaType
EQUAL

An do nothing.

public static final DeltaType
INSERT

An insert into the original.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static DeltaType
public static DeltaType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CHANGEback to summary
public static final DeltaType CHANGE

A change in the original.

DELETEback to summary
public static final DeltaType DELETE

A delete from the original.

EQUALback to summary
public static final DeltaType EQUAL

An do nothing.

INSERTback to summary
public static final DeltaType INSERT

An insert into the original.

Constructor Detail

DeltaTypeback to summary
private DeltaType()

Method Detail

valueOfback to summary
public static DeltaType valueOf(String name)
valuesback to summary
public static DeltaType[] values()