public class BoxDeleteMolecules extends BoxActionAdapter
box
Constructor | Description |
---|---|
BoxDeleteMolecules(java.util.function.Predicate<IMolecule> filter) |
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed() |
Performs the action of deleting test == false molecules, considering
all molecules in the box last given to setBox.
|
getBox, setBox
public BoxDeleteMolecules(java.util.function.Predicate<IMolecule> filter)
filter
- determines the atoms that will be deleted by the action; those
for which filter.test returns false are deleted