|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rubato.util.DoubleConverter
public abstract class DoubleConverter
Subclasses of this class specialize in converting module elements to and from double.
Constructor Summary | |
---|---|
DoubleConverter()
|
Method Summary | |
---|---|
abstract ModuleElement |
fromDouble(double x)
Converts the double x to a module element. |
static DoubleConverter |
makeDoubleConverter(Module m)
Creates a new converter that converts between double and the elements from the module m . |
abstract double |
toDouble(ModuleElement x)
Converts the module element x to double. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DoubleConverter()
Method Detail |
---|
public abstract double toDouble(ModuleElement x)
x
to double.
public abstract ModuleElement fromDouble(double x)
x
to a module element.
public static DoubleConverter makeDoubleConverter(Module m)
m
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |