anthill.util
Interface Clearable
- All Known Subinterfaces:
- Experiment, Gate, GeneticExperiment, GeneticNest, GeneticScenario, Manager, Nest, Peernet, RequestSet, ResourceSet, Scenario, Stats, Storage
- All Known Implementing Classes:
- RandomResourceSet, StatsImpl
- public interface Clearable
Interface Clearable
is implemented by those objects whose
content may be restored to its initial state. On these
objects, method clear()
performs the restoration. The aim
of implementing this interface is to avoid the cost of
instantiation of new objects.
Method Summary |
void |
clear()
Restores the object to its initial state. |
clear
public void clear()
- Restores the object to its initial state.