@@ -16,7 +16,7 @@ import java.util.Set; | |||
/** | |||
* | |||
* @author le | |||
* @author Schuhmann | |||
*/ | |||
public class Wuerfel implements Runnable // Callable | |||
{ | |||
@@ -103,6 +103,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())); |