public class MembraneDissolveAllResult extends java.lang.Object implements Result
Membrane.delete()
. After calling all
the tunnels inside will be closed, and tunnels to this membrane will be
closed, too.Constructor and Description |
---|
MembraneDissolveAllResult() |
Modifier and Type | Method and Description |
---|---|
MembraneDissolveAllResult |
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
|
java.lang.String |
toString() |
public MembraneDissolveAllResult deepClone()
Result
public void setResult(Membrane membrane, int times) throws UnknownMembraneClassException
Result
setResult
in interface Result
membrane
- target membranetimes
- set result timesUnknownMembraneClassException
- if membrane class can not be found while creating an instancepublic java.lang.String toString()
toString
in class java.lang.Object
public Tunnel selectTunnel(Membrane current) throws TunnelNotExistException
Result
selectTunnel
in interface Result
current
- current membraneTunnelNotExistException
- if tunnel doesn't exist and cannot be created