public class KeyChangeDiff extends Diff
KeyRemoveDiff
and KeyDiff
.
Top-level diff.Modifier and Type | Class and Description |
---|---|
static interface |
KeyChangeDiff.Processor |
Constructor and Description |
---|
KeyChangeDiff(java.lang.Object fromKey,
java.lang.Object toKey) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canProcess(Diff.Processor processor) |
protected void |
doProcess(Diff.Processor processor) |
boolean |
equals(java.lang.Object other) |
java.lang.Object |
getFromKey()
Original value of key
|
java.lang.Object |
getToKey()
New value of key
|
int |
hashCode() |
java.lang.String |
toString() |
protected boolean |
walkExpanded(RamaFunction1 fn) |
public KeyChangeDiff(java.lang.Object fromKey, java.lang.Object toKey)
public java.lang.Object getFromKey()
public java.lang.Object getToKey()
protected boolean walkExpanded(RamaFunction1 fn)
walkExpanded
in class Diff
protected void doProcess(Diff.Processor processor)
protected boolean canProcess(Diff.Processor processor)
canProcess
in class Diff
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object