When one object of the second sequence has no corresponding object in the
first sequence at the right place, the edit script
transforming the first sequence into the second sequence uses an instance of
this class to represent the insertion of this object. The objects embedded in
these type of commands always come from the second sequence.
SequencesComparator, EditScript
| Access | Constructor and Description |
|---|---|
| public | InsertCommand(final T
the object of the second sequence that should be inserted object)Simple constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final CommandVisitor<T>
the visitor to be accepted visitor)Implements abstract org. |
| InsertCommand | back to summary |
|---|---|
| public InsertCommand(final T object) Simple constructor. Creates a new instance of InsertCommand
| |
| accept | back to summary |
|---|---|
| public void accept(final CommandVisitor<T> visitor) Implements abstract org. Accept a visitor. When an
| |