public class AbstractDiffResult extends Object implements DiffResult
| Constructor and Description |
|---|
AbstractDiffResult(DiffCommand diff,
DiffEvalContext diffEvalContext,
TreeMap<DiffKey,String> added,
TreeMap<DiffKey,String> removed,
TreeMap<DiffKey,String[]> changed) |
| Modifier and Type | Method and Description |
|---|---|
List<DiffItem> |
added() |
List<DiffItem> |
all() |
List<DiffItem> |
changed() |
void |
close() |
DiffCommand |
getDiff() |
DiffEvalContext |
getDiffEvalContext() |
boolean |
hasChanges() |
Iterator |
iterator() |
List<DiffItem> |
removed() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic DiffEvalContext getDiffEvalContext()
public DiffCommand getDiff()
public boolean hasChanges()
hasChanges in interface DiffResultpublic List<DiffItem> all()
all in interface DiffResultpublic List<DiffItem> removed()
removed in interface DiffResultpublic List<DiffItem> added()
added in interface DiffResultpublic List<DiffItem> changed()
changed in interface DiffResultpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2022 vpc open source initiative. All rights reserved.