|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nodal.util.TxnMonitorableUtil org.nodal.util.GetterUtil org.nodal.util.DoubleGetterUtil
Field Summary |
Fields inherited from class org.nodal.util.GetterUtil |
getterType |
Fields inherited from class org.nodal.util.TxnMonitorableUtil |
handlers |
Constructor Summary | |
DoubleGetterUtil(Type t)
|
Method Summary | |
java.lang.Object |
get()
Recover the value of this Getter as an Object. |
byte |
getByte()
Return the value of this Getter as a byte if possible |
abstract double |
getDouble()
Return the value of this Getter as a double if possible |
float |
getFloat()
Return the value of this Getter as a float if possible |
int |
getInt()
Return the value of this Getter as an int if possible |
long |
getLong()
Return the value of this Getter as a long if possible |
short |
getShort()
Return the value of this Getter as a short if possible |
java.lang.String |
getString()
Return the value of this Getter as a String. |
boolean |
valueEquals(java.lang.Object v)
Compare this value with the argument. |
Methods inherited from class org.nodal.util.GetterUtil |
createPath, getBoolean, getChar, getNode, path, type |
Methods inherited from class org.nodal.util.TxnMonitorableUtil |
addNotifier, addTxnHandler, notifyInsertAfter, notifyInsertBefore, notifyRemoveKey, notifyRemoveRange, notifyReplaceRange, notifySetValue, removeNotifier, removeTxnHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nodal.model.TxnMonitorable |
addTxnHandler, removeTxnHandler |
Constructor Detail |
public DoubleGetterUtil(Type t)
Method Detail |
public abstract double getDouble()
GetterUtil
getDouble
in interface Getter
getDouble
in class GetterUtil
public java.lang.Object get()
GetterUtil
Must override to implement.
get
in interface Getter
get
in class GetterUtil
public java.lang.String getString()
GetterUtil
Unlike the other type-specific get methods, this must always succeed.
getString
in interface Getter
getString
in class GetterUtil
public byte getByte() throws PropertyTypeMismatch
GetterUtil
getByte
in interface Getter
getByte
in class GetterUtil
PropertyTypeMismatch
public short getShort() throws PropertyTypeMismatch
GetterUtil
getShort
in interface Getter
getShort
in class GetterUtil
PropertyTypeMismatch
public int getInt() throws PropertyTypeMismatch
GetterUtil
getInt
in interface Getter
getInt
in class GetterUtil
PropertyTypeMismatch
public long getLong() throws PropertyTypeMismatch
GetterUtil
getLong
in interface Getter
getLong
in class GetterUtil
PropertyTypeMismatch
public float getFloat() throws PropertyTypeMismatch
GetterUtil
getFloat
in interface Getter
getFloat
in class GetterUtil
PropertyTypeMismatch
public boolean valueEquals(java.lang.Object v)
GetterUtil
This method is provided so that comparison can be done without the overhead of a full get in some cases. This should thus be overriden with a more efficient implementation when possible.
valueEquals
in interface Getter
valueEquals
in class GetterUtil
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |