public class RealFactory
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RealFactory.RealType
An enumeration of the different Real types
|
| Constructor and Description |
|---|
RealFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Real |
getReal(RealFactory.RealType type,
double d)
Returns a new real of the given type and value
|
static Real |
getSmallestReal(RealFactory.RealType type)
Returns the smallest possible real of the given type
|
public static Real getReal(RealFactory.RealType type, double d)
type - The type of Real to created - The value of the realpublic static Real getSmallestReal(RealFactory.RealType type)
type - The type of the real