public class Inni
extends java.lang.Object
Constructor and Description |
---|
Inni(InniArmElseafter elseafterArm,
InniArm firstArm,
InniArm... restArms)
Create a new instance of an Inni.
|
Inni(InniArmElse elseArm,
InniArm firstArm,
InniArm... restArms)
Create a new instance of an Inni.
|
Inni(InniArm firstArm,
InniArm... restArms)
Create a new instance of an Inni.
|
Modifier and Type | Method and Description |
---|---|
BaseArmCode.Control |
service()
Service one invocation as specified by this Inni's arms
by executing the codeBlock in the associated arm.
|
public Inni(InniArmElse elseArm, InniArm firstArm, InniArm... restArms)
elseArm
- The elseArm.firstArm
- The first arm.restArms
- Any other arms.public Inni(InniArmElseafter elseafterArm, InniArm firstArm, InniArm... restArms)
elseafterArm
- The elseafterArm.firstArm
- The first arm.restArms
- Any other arms.public BaseArmCode.Control service()