org.jgap.impl
Class StockRandomGenerator
- java.lang.Object
-
- java.util.Random
-
- org.jgap.impl.StockRandomGenerator
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, RandomGenerator, ICloneable
public class StockRandomGenerator extends java.util.Random implements RandomGenerator, ICloneable, java.lang.Comparable
The stock random generator uses the java.util.Random class to provide a simple implementation of the RandomGenerator interface. No actual code is provided here.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description StockRandomGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Objectclone()intcompareTo(java.lang.Object a_other)-
Methods inherited from class java.util.Random
doubles, doubles, doubles, doubles, ints, ints, ints, ints, longs, longs, longs, longs, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jgap.RandomGenerator
nextBoolean, nextDouble, nextFloat, nextInt, nextInt, nextLong
-
-
-
-
Method Detail
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfaceICloneable- Overrides:
clonein classjava.lang.Object- Returns:
- deep clone of this instance
- Since:
- 3.2
-
compareTo
public int compareTo(java.lang.Object a_other)
- Specified by:
compareToin interfacejava.lang.Comparable- Parameters:
a_other- sic- Returns:
- as always
- Since:
- 3.2
-
-
DMelt 3.0 © DataMelt by jWork.ORG