public class SequenceInsertsDiff extends Diff
SequenceChangeDiff
.Modifier and Type | Class and Description |
---|---|
static interface |
SequenceInsertsDiff.Processor |
Constructor and Description |
---|
SequenceInsertsDiff(int beforeIndex,
java.util.List<java.lang.Object> elems,
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 |
getBeforeIndex()
Index where elements were inserted
|
java.util.List<java.lang.Object> |
getElems()
Inserted elements
|
int |
getOldSize()
Size of sequence before inserts
|
int |
hashCode() |
java.lang.String |
toString() |
protected boolean |
walkExpanded(RamaFunction1 fn) |
public SequenceInsertsDiff(int beforeIndex, java.util.List<java.lang.Object> elems, int oldSize)
public int getBeforeIndex()
public java.util.List<java.lang.Object> getElems()
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