static class ModelChangeEvents.RemoveValueEvent extends java.lang.Object implements ModelChangeEvent
| Constructor and Description | 
|---|
RemoveValueEvent(Value toRemove)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
describe()
Returns a human-readable description of the event. 
 | 
java.util.Collection<Variable> | 
execute(java.util.Collection<Variable> variables)
Executes the event. 
 | 
java.util.Collection<HeapSubStructure> | 
getModifiedSubStructures()
Gets all the heap sub structures which were modified by this model change event. 
 | 
java.util.Collection<Variable> | 
undo(java.util.Collection<Variable> variables)
Undoes the effects of  
ModelChangeEvent.execute(Collection). | 
public RemoveValueEvent(Value toRemove)
public java.util.Collection<Variable> execute(java.util.Collection<Variable> variables)
ModelChangeEventexecute in interface ModelChangeEventvariables - The collection of variables. This collection should not be changed as no guarantees are made
                  on the kind of collection. Variables can both be added and removed to the result collection to
                  signal that these variables should be added/removed.public java.util.Collection<Variable> undo(java.util.Collection<Variable> variables)
ModelChangeEventModelChangeEvent.execute(Collection).undo in interface ModelChangeEventpublic java.lang.String describe()
ModelChangeEventdescribe in interface ModelChangeEventpublic java.util.Collection<HeapSubStructure> getModifiedSubStructures()
ModelChangeEventModelChangeEvent.execute(Collection)
 method has been executed. Otherwise it may throw exceptions or return an incorrect result.getModifiedSubStructures in interface ModelChangeEvent