Merge origin/JensV2 into JensV2
This commit is contained in:
commit
5f5bceb3b8
@ -16,7 +16,7 @@ import java.util.Set;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author le
|
* @author Schuhmann
|
||||||
*/
|
*/
|
||||||
public class Wuerfel implements Runnable // Callable
|
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()
|
private synchronized void berechneWert()
|
||||||
{
|
{
|
||||||
data.setValue((int) (1 + 6*Math.random()));
|
data.setValue((int) (1 + 6*Math.random()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user