public class NChoiceInstruction extends Instruction
Modifier and Type | Class and Description |
---|---|
static class |
NChoiceInstruction.Choice |
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<NChoiceInstruction.Choice> |
choices |
int |
total |
Constructor and Description |
---|
NChoiceInstruction(int total,
java.util.ArrayList<NChoiceInstruction.Choice> choices) |
Modifier and Type | Method and Description |
---|---|
int |
getType() |
java.lang.String |
toString() |
public int total
public java.util.ArrayList<NChoiceInstruction.Choice> choices
public NChoiceInstruction(int total, java.util.ArrayList<NChoiceInstruction.Choice> choices)
public int getType()
getType
in class Instruction
public java.lang.String toString()
toString
in class java.lang.Object