public class DeleteCommand<T> extends EditCommand<T>
When one object of the first sequence has no corresponding object in the
second sequence at the right place, the
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.
|Constructor and Description|
|Modifier and Type||Method and Description|
Accept a visitor.
public DeleteCommand(T object)
object- the object of the first sequence that should be deleted
public void accept(CommandVisitor<T> visitor)
DeleteCommandaccepts a visitor, it calls its
visitor- the visitor to be accepted
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.