org.debellor.core.cell
Class OperatorFromCell
java.lang.Object
org.debellor.core.cell.OperatorFromCell
public class OperatorFromCell
- extends java.lang.Object
Wrapper class that lets the cell to be used like a simple input-output operator
that can be applied to an input sample in order to produce an output sample.
If the cell cannot be treated in this way, because
it does not produce exactly one output sample for every input sample,
exception is thrown during execution.
- Author:
- Marcin Wojnarski
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperatorFromCell
public OperatorFromCell()
setType
public void setType(Sample.SampleType type)
setCell
public void setCell(Cell cell)
throws DebellorException
- Throws:
DebellorException
applyTo
public Sample applyTo(Sample in)
throws DebellorException
- Throws:
DebellorException
closeCell
public void closeCell()
throws DebellorException
- Throws:
DebellorException