Download Method Detail

Transcript
Method Detail
getGraph
public Graph getGraph()
Returns the logic circuit of this exercise.
Returns:
The logic circuit of this exercise.
setGraph
public void setGraph(Graph graph)
Sets the logic circuit of this exercise.
Parameters:
graph - The logic circuit of this exercise.
setSolution
public void setSolution(String function)
Sets a users solution of this exercise.
Parameters:
function - A users solution of this exercise.
getSolution
public String getSolution()
Returns a users solution of this exercise.
Returns:
A users solution of this exercise.
getInstruction
public String getInstruction()
Returns the instruction for this exercise.
Overrides:
getInstruction in class Exercise
Returns:
A message containing instructions what to do in this exercise.
62