public class Util
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static TIntHashSet |
DELIMITERS_SET |
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static DiffFragment |
concatenate(DiffFragment [] line) |
static DiffFragment |
concatenate(DiffFragment [] line,
int from,
int to) |
static Diff.Change |
concatEquals(Diff.Change change,
java.lang.Object [] left,
java.lang.Object [] right) |
static DiffFragment [] |
cutFirst(DiffFragment [] fragments) |
static DiffString |
getText(DiffFragment [] fragments,
FragmentSide side) |
static boolean |
isSameType(DiffFragment fragment1,
DiffFragment fragment2) |
static DiffFragment[] [] |
splitByUnchangedLines(DiffFragment [] fragments) |
static DiffFragment |
unite(DiffFragment fragment1,
DiffFragment fragment2) |
static DiffFragment[] [] |
uniteFormattingOnly(DiffFragment[] [] lines) |
public static DiffFragment[] [] splitByUnchangedLines(DiffFragment [] fragments)
public static Diff.Change concatEquals(Diff.Change change, java.lang.Object [] left, java.lang.Object [] right)
public static DiffFragment unite(DiffFragment fragment1, DiffFragment fragment2)
public static boolean isSameType(DiffFragment fragment1, DiffFragment fragment2)
public static DiffString getText(DiffFragment [] fragments, FragmentSide side)
public static DiffFragment concatenate(DiffFragment [] line)
public static DiffFragment concatenate(DiffFragment [] line, int from, int to)
public static DiffFragment[] [] uniteFormattingOnly(DiffFragment[] [] lines)
public static DiffFragment [] cutFirst(DiffFragment [] fragments)