rasmus.interpreter
Class RDouble
java.lang.Object
rasmus.interpreter.RVariablePartImpl
rasmus.interpreter.RDouble
- All Implemented Interfaces:
- RDoubleListener, RVariablePart
public final class RDouble
- extends RVariablePartImpl
- implements RDoubleListener
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listeners
public RListenerList listeners
RDouble
public RDouble()
RDouble
public RDouble(boolean immutable)
isImmutable
public boolean isImmutable()
asVariable
public static RVariable asVariable(double value)
asDouble
public static double asDouble(RVariable variable)
getInstance
public static RDouble getInstance(RVariable variable)
getDouble
public double getDouble()
add
public void add(RVariable variable)
- Specified by:
add
in interface RVariablePart
remove
public void remove(RVariable variable)
- Specified by:
remove
in interface RVariablePart
clear
public void clear()
- Specified by:
clear
in interface RVariablePart
valueChanged
public void valueChanged(RDouble source,
double before,
double after)
- Specified by:
valueChanged
in interface RDoubleListener
sendValueChanged
public void sendValueChanged(double before,
double after)
addListener
public void addListener(RDoubleListener listener)
removeListener
public void removeListener(RDoubleListener listener)