Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.engine
Interface ISink

All Superinterfaces:
IOperator, java.io.Serializable
All Known Implementing Classes:
AbstractSink

public interface ISink
extends IOperator

Interface for a sink operator. A sink has exactly one input and no output slots. It is used for storing data objects.

Since:
0.4.0
Version:
$Revision: 1.5 $ $Date: 2004/05/26 11:58:25 $
Author:
Andreas Rummler

Method Summary
 java.lang.Object[] contents()
          Returns the stored contents of this sink.
 void store(java.lang.Object data)
          Stores a data object.
 
Methods inherited from interface org.evolvica.engine.IOperator
attachDescriptor, attachElement, descriptor, element, getId, getName, setId, setName
 

Method Detail

store

public void store(java.lang.Object data)
Stores a data object.

Parameters:
data - the data object to be stored in the sink

contents

public java.lang.Object[] contents()
Returns the stored contents of this sink.

Returns:
array with the stored data objects of this sink

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

Copyright © 2000-2004 Technical University of Ilmenau, Department Electronic Circuits and Systems