public class BinaryDiffResult
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
actual |
private static int |
EOF |
java.lang.String |
expected |
int |
offset |
| Constructor and Description |
|---|
BinaryDiffResult(int offset,
int expected,
int actual)
Builds a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
private java.lang.String |
describe(int b) |
boolean |
hasNoDiff() |
static BinaryDiffResult |
noDiff() |
private static final int EOF
public final int offset
public final java.lang.String expected
public final java.lang.String actual
public BinaryDiffResult(int offset,
int expected,
int actual)
offset - the offset at which the difference occurred.expected - the expected byte as an int in the range 0 to 255, or -1 for EOF.actual - the actual byte in the same format.public boolean hasNoDiff()
public static BinaryDiffResult noDiff()
private java.lang.String describe(int b)