|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for classes which are able to collect individuals and store them.
Method Summary | |
void |
add(Individual i)
Adds an individual to the sink. |
void |
add(Individual[] ia)
Adds an array of indiviualds to the sink. |
void |
add(IndividualStream is)
Adds a stream of individuals to the sink. |
java.lang.Object |
getContents()
Returns the contents of this sink. |
Method Detail |
public void add(Individual i) throws SinkOverflowException
i
- individual to addSinkOverflowException
- thrown in case that the individual can
not be storedpublic void add(Individual[] ia) throws SinkOverflowException
ia
- array with individualsSinkOverflowException
- thrown in case that the individuals can
not be storedpublic void add(IndividualStream is) throws SinkOverflowException
is
- stream of individualsSinkOverflowException
- thrown in case that the individual stream
can not be storedpublic java.lang.Object getContents()
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |