Package | Description |
---|---|
org.crosswire.common.diff |
An implementation of Diff that works within the line.
|
Modifier and Type | Method and Description |
---|---|
static CommonMiddle |
Commonality.halfMatch(String source,
String target)
Do the two texts share a substring which is at least half the length of
the longer text?
|
private static CommonMiddle |
Commonality.halfMatch(String longText,
String shortText,
int startIndex)
Does a substring of shortText exist within longText such that the
substring is at least half the length of longText?
|