public class DoubleType extends java.lang.Object implements NumberType
| Constructor and Description |
|---|
DoubleType(double dbl) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(RtflType value,
Scope scope)
Checks two RtflTypes to see if they qualify as equals in Rtfl
|
java.lang.String |
name()
The name of the type
|
double |
toDouble() |
int |
toInt() |
java.lang.String |
toString() |
java.lang.Object |
value()
The Java value stored in this RtflType wrapper
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromJavaType, toJavaTypepublic java.lang.String name()
RtflTypepublic java.lang.Object value()
RtflTypepublic java.lang.String toString()
toString in class java.lang.Objectpublic int toInt()
toInt in interface NumberTypepublic double toDouble()
toDouble in interface NumberTypepublic boolean equals(RtflType value, Scope scope) throws RuntimeException
RtflTypeequals in interface RtflTypevalue - The value to check this RtflType againstscope - The scope in which to check (to use functions and variables)RuntimeException - If any references are invalid or if executing a function fails