Package org.opt4j.core
Interface IndividualSetListener
-
public interface IndividualSetListener
TheIndividualSetListener
receives notifications if anIndividual
is added to or removed from anIndividualSet
.- See Also:
IndividualSet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
individualAdded(IndividualSet collection, Individual individual)
Invoked if theIndividual
is added to theIndividualSet
.void
individualRemoved(IndividualSet collection, Individual individual)
Invoked if theIndividual
is removed from theIndividualSet
.
-
-
-
Method Detail
-
individualAdded
void individualAdded(IndividualSet collection, Individual individual)
Invoked if theIndividual
is added to theIndividualSet
.- Parameters:
collection
- the observed collectionindividual
- the added individual
-
individualRemoved
void individualRemoved(IndividualSet collection, Individual individual)
Invoked if theIndividual
is removed from theIndividualSet
.- Parameters:
collection
- the observed collectionindividual
- the removed individual
-
-