When one object of the first sequence has no corresponding object in the
second 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 deletion of this object. The objects embedded in
these type of commands always come from the first sequence.
SequencesComparator, EditScript
| Access | Constructor and Description |
|---|---|
| public | DeleteCommand(final T
the object of the first sequence that should be deleted object)Simple constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final CommandVisitor<T>
the visitor to be accepted visitor)Implements abstract org. |
| DeleteCommand | back to summary |
|---|---|
| public DeleteCommand(final T object) Simple constructor. Creates a new instance of
| |
| accept | back to summary |
|---|---|
| public void accept(final CommandVisitor<T> visitor) Implements abstract org. Accept a visitor. When a
| |