|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.env.Value
com.caucho.quercus.env.ObjectValue
com.caucho.quercus.env.JavaValue
com.caucho.quercus.env.BigIntegerValue
public class BigIntegerValue
Represents a Quercus java BigInteger value.
Field Summary |
---|
Fields inherited from class com.caucho.quercus.env.JavaValue |
---|
_env |
Fields inherited from class com.caucho.quercus.env.ObjectValue |
---|
_className, _incompleteObjectName, _quercusClass |
Fields inherited from class com.caucho.quercus.env.Value |
---|
L, NULL_ARGS, NULL_VALUE_ARRAY |
Constructor Summary | |
---|---|
BigIntegerValue(Env env,
java.math.BigInteger val,
JavaClassDef def)
|
Method Summary | |
---|---|
boolean |
isDoubleConvertible()
Returns true for a double-value. |
boolean |
isLongConvertible()
Returns true for a long-value. |
java.math.BigDecimal |
toBigDecimal()
Converts to a Java BigDecimal. |
java.math.BigInteger |
toBigInteger()
Converts to a Java BigDecimal. |
double |
toDouble()
Converts to a double. |
long |
toLong()
Converts to a long. |
java.lang.String |
toString()
Converts to a string. |
Methods inherited from class com.caucho.quercus.env.JavaValue |
---|
callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, clone, cmpObject, entrySet, getClassName, getField, getJavaClassDef, getType, isObject, isResource, jsonEncode, printRImpl, putField, serialize, toDouble, toInputStream, toJavaMap, toJavaObject, toJavaObject, toJavaObjectNotNull, toKey, toString, varDumpImpl |
Methods inherited from class com.caucho.quercus.env.ObjectValue |
---|
append, appendTo, appendTo, appendTo, appendTo, call, cleanup, eq, findFunction, get, getCount, getIncompleteObjectName, getIterator, getKeyIterator, getName, getParentClassName, getQuercusClass, getValueIterator, initField, initObject, isA, isCallable, isIncompleteObject, isset, put, put, putField, putField, putField, putField, putField, putField, remove, setIncompleteObjectName, setQuercusClass, toAutoArray, toBoolean, varDumpObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BigIntegerValue(Env env, java.math.BigInteger val, JavaClassDef def)
Method Detail |
---|
public long toLong()
toLong
in class JavaValue
public double toDouble()
toDouble
in class JavaValue
public java.math.BigDecimal toBigDecimal()
toBigDecimal
in class Value
public java.math.BigInteger toBigInteger()
toBigInteger
in class Value
public boolean isDoubleConvertible()
isDoubleConvertible
in class Value
public boolean isLongConvertible()
isLongConvertible
in class Value
public java.lang.String toString()
JavaValue
toString
in class JavaValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |