19 package org.openoffice.xmerge.merger;
30 public static final int ADD = 1;
208 return "<diff orgPos=" + orgPosition +
" modPos=" + modPosition +
209 " op=" + opStr +
">";
221 return orgPosition +
" " + modPosition +
" " +
operation;
int getOrgPosition()
Get the original.
static final int DELETE
Delete operation.
int getModPosition()
Get the modified.
final int modPosition
The position of the content that should be operated (modified iterator).
static final int CHANGE
Change operation.
Difference(int operation, int orgPosition, int modPosition)
Constructor.
int getOperation()
Get the operation of the.
boolean equals(Object obj)
Two.
String debug()
Display debug information.
static final int UNCHANGE
Unchange operation (i.e.
final int orgPosition
The position of the content that should be operated on (original.
static final int ADD
Add operation.
final int operation
The action of the diff - either ADD or DELETE.
String toString()
Returns position and operation values as a single string.