com.mindfusion.diagramming.jlayout
Class RandomFactory
java.lang.Object
java.util.Random
com.mindfusion.diagramming.jlayout.RandomFactory
- All Implemented Interfaces:
- java.io.Serializable
public class RandomFactory
- extends java.util.Random
A replacement of java.util.Random that return values from a file, so it
is equvalent to its .NET version
Used to compare results of java and .NET algorithms using random generator
- See Also:
- Serialized Form
Methods inherited from class java.util.Random |
next, nextBoolean, nextBytes, nextGaussian, nextInt, nextInt, nextLong, setSeed |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nextDouble
public double nextDouble()
- Overrides:
nextDouble
in class java.util.Random
nextFloat
public float nextFloat()
- Overrides:
nextFloat
in class java.util.Random
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable
getInvocations
public static int getInvocations()
invocations
public static void invocations(java.lang.String step)