@@ -16,7 +16,7 @@ import java.util.Set; | |||
/** | |||
* | |||
* @author le | |||
* @author Schuhmann | |||
*/ | |||
public class Wuerfel implements Runnable // Callable | |||
{ | |||
@@ -104,6 +104,9 @@ public class Wuerfel implements Runnable // Callable | |||
} | |||
} | |||
/** | |||
* berechnet den Wert für jede itteration | |||
*/ | |||
private synchronized void berechneWert() | |||
{ | |||
data.setValue((int) (1 + 6*Math.random())); |