public static class DiffCorrection.FragmentBuffer extends DiffCorrection.BaseFragmentRunner<DiffCorrection.FragmentBuffer>
Constructor and Description |
---|
FragmentBuffer() |
Modifier and Type | Method and Description |
---|---|
void |
add(DiffFragment fragment) |
protected void |
flushMarked() |
void |
markIfNone(int mode) |
void |
processAll(DiffFragment[] fragments,
DiffCorrection.FragmentProcessor<? super DiffCorrection.FragmentBuffer> processor) |
actualAdd, getFragments, getIndex, getTextLength, isEmpty, toArray
public void markIfNone(int mode)
public void add(DiffFragment fragment)
add
in class DiffCorrection.BaseFragmentRunner<DiffCorrection.FragmentBuffer>
protected void flushMarked()
public void processAll(DiffFragment[] fragments, DiffCorrection.FragmentProcessor<? super DiffCorrection.FragmentBuffer> processor) throws FilesTooBigForDiffException
processAll
in class DiffCorrection.BaseFragmentRunner<DiffCorrection.FragmentBuffer>
FilesTooBigForDiffException