Class DeleteCommand<T>
java.lang.Object
org.apache.commons.collections4.sequence.EditCommand<T>
org.apache.commons.collections4.sequence.DeleteCommand<T>
- Type Parameters:
- T- the type of object to apply this command.
Command representing the deletion of one object of the first sequence.
 
 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.
 
- Since:
- 4.0
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.commons.collections4.sequence.EditCommandgetObject
- 
Constructor Details- 
DeleteCommandSimple constructor. Creates a new instance ofDeleteCommand.- Parameters:
- object- the object of the first sequence that should be deleted
 
 
- 
- 
Method Details- 
acceptAccept a visitor. When aDeleteCommandaccepts a visitor, it calls itsvisitDeleteCommandmethod.- Specified by:
- acceptin class- EditCommand<T>
- Parameters:
- visitor- the visitor to be accepted
 
 
-