ColT
- type of Collectable
this strategy is processingpublic interface CollectStrategy<ColT extends Collectable<?>> extends Serializable
Collector
.
CollectStrategy implementations are supposed to be stateless and have a public default constructor.
StrategyCollector
Modifier and Type | Method and Description |
---|---|
void |
process(SimState state,
ColT collectable)
Processes this strategy.
|
void process(SimState state, ColT collectable)
state
- the simulation statecollectable
- the Collectable
to be processed