Package com.rpl.rama.diffs
Class SequenceInsertsDiff
java.lang.Object
com.rpl.rama.diffs.Diff
com.rpl.rama.diffs.SequenceInsertsDiff
Represents multiple values being inserted at some index in a sequence. Top-level diff. Expands to
SequenceChangeDiff.- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanProcess(Diff.Processor processor) protected voiddoProcess(Diff.Processor processor) booleanintIndex where elements were insertedgetElems()Inserted elementsintSize of sequence before insertsinthashCode()toString()protected boolean
-
Constructor Details
-
SequenceInsertsDiff
-
-
Method Details
-
getBeforeIndex
public int getBeforeIndex()Index where elements were inserted -
getElems
Inserted elements -
getOldSize
public int getOldSize()Size of sequence before inserts -
walkExpanded
- Overrides:
walkExpandedin classDiff
-
doProcess
-
canProcess
- Specified by:
canProcessin classDiff
-
equals
-
hashCode
public int hashCode() -
toString
-