public class SequenceIndexRemoveDiff extends Diff
SequenceChangeDiff
.Modifier and Type | Class and Description |
---|---|
static interface |
SequenceIndexRemoveDiff.Processor |
Constructor and Description |
---|
SequenceIndexRemoveDiff(int index,
int amt,
int oldSize) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canProcess(Diff.Processor processor) |
protected void |
doProcess(Diff.Processor processor) |
boolean |
equals(java.lang.Object other) |
int |
getAmt()
Number of removed elements
|
int |
getIndex()
Starting index where elements were removed
|
int |
getOldSize()
Size of sequence before removes
|
int |
hashCode() |
java.lang.String |
toString() |
protected boolean |
walkExpanded(RamaFunction1 fn) |
public SequenceIndexRemoveDiff(int index, int amt, int oldSize)
public int getIndex()
public int getAmt()
public int getOldSize()
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