public final class RandomValue extends SharedObject<RandomValue> implements Value
Constructor and Description |
---|
RandomValue(java.math.BigInteger min,
java.math.BigInteger max) |
RandomValue(ru.ispras.fortress.randomizer.Variate<?> variate) |
Modifier and Type | Method and Description |
---|---|
Value |
copy() |
java.math.BigInteger |
getValue() |
RandomValue |
newCopy()
Creates a new full copy of the object.
|
java.lang.String |
toString() |
freeSharedCopies, getCopy, sharedCopy, sharedCopyAll
public RandomValue(ru.ispras.fortress.randomizer.Variate<?> variate)
public RandomValue(java.math.BigInteger min, java.math.BigInteger max)
public RandomValue newCopy()
SharedObject
SharedObject.SharedObject(SharedObject)
copy constructor in order to publish a shared copy.newCopy
in class SharedObject<RandomValue>
public java.lang.String toString()
toString
in class java.lang.Object