public class DiffImpl extends java.lang.Object implements Diff, java.lang.Comparable<DiffImpl>, java.util.Formattable
Diff.Data, Diff.Ignore| Constructor | Description |
|---|---|
DiffImpl(Tree newer,
Tree older) |
Compares the newer against the older, traversing the children if
necessary.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
compareTo(DiffImpl other) |
|
boolean |
equals(java.lang.Object other) |
|
void |
formatTo(java.util.Formatter formatter,
int flags,
int width,
int precision) |
|
Diff |
get(java.lang.String name) |
|
java.util.Collection<? extends Diff> |
getChildren() |
|
Delta |
getDelta() |
Return the absolute delta.
|
Delta |
getDelta(Diff.Ignore ignore) |
This getDelta calculates the delta but allows the caller to ignore
certain Diff objects by calling back the ignore call back parameter.
|
java.lang.String |
getName() |
|
Tree |
getNewer() |
|
Tree |
getOlder() |
|
Type |
getType() |
|
int |
hashCode() |
|
Diff.Data |
serialize() |
|
java.lang.String |
toString() |
public Delta getDelta()
getDelta(aQute.bnd.service.diff.Diff.Ignore) that allows you to
ignore Diff objects on the fly (and calculate their parents accordingly).public Delta getDelta(Diff.Ignore ignore)
public java.util.Collection<? extends Diff> getChildren()
getChildren in interface Diffpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(DiffImpl other)
compareTo in interface java.lang.Comparable<DiffImpl>public void formatTo(java.util.Formatter formatter,
int flags,
int width,
int precision)
formatTo in interface java.util.Formattable