public interface Result
extends java.lang.Cloneable
| Modifier and Type | Method and Description |
|---|---|
Result |
deepClone()
Deep clone a result
|
Tunnel |
selectTunnel(Membrane current)
Select which tunnel this result will go through
|
void |
setResult(Membrane membrane,
int times)
Set the result to target membrane
|
void setResult(Membrane membrane, int times) throws UnknownMembraneClassException, TimesException
membrane - target membranetimes - set result timesUnknownMembraneClassException - if membrane class can not be found while creating an instanceTimesExceptionResult deepClone()
Tunnel selectTunnel(Membrane current) throws TunnelNotExistException
current - current membraneTunnelNotExistException - if tunnel doesn't exist and cannot be created