public class BigDecimalValue extends JavaValue
_className, _incompleteObjectName, _quercusClassL, NULL_ARGS, NULL_VALUE_ARRAY| Constructor and Description |
|---|
BigDecimalValue(Env env,
java.math.BigDecimal val,
JavaClassDef def) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, clone, cmpObject, entrySet, getClassName, getField, getJavaClassDef, getType, isObject, isResource, issetField, jsonEncode, printRImpl, putField, serialize, toArray, toDouble, toInputStream, toJavaMap, toJavaObject, toJavaObject, toJavaObjectNotNull, toKey, toString, varDumpImplappend, appendTo, appendTo, appendTo, appendTo, call, cleanup, eq, findFunction, findQuercusClass, get, getArgs, getCallbackName, getCount, getDeclComment, getDeclEndLine, getDeclFileName, getDeclStartLine, getIncompleteObjectName, getIterator, getKeyIterator, getMethod, getName, getObjectHash, getParentClassName, getQuercusClass, getStaticFieldValue, getStaticFieldVar, getValueIterator, initField, initIncompleteField, initObject, isA, isCallable, isEmpty, isIncompleteObject, isInternal, isReturnsReference, isset, isValid, put, put, putField, putField, putField, putField, putField, putField, remove, setClassName, setIncompleteObjectName, setQuercusClass, setStaticFieldRef, toAutoArray, toBoolean, toCallable, toJavaEnum, varDumpObjectabs, add, add, addOne, bitAnd, bitOr, bitXor, call, call, call, call, call, call, callCopy, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callRef, callRef, callRef, callRef, callRef, callRef, callRef, charValueAt, checkPrivate, checkProtected, cmp, containsKey, copy, copy, copy, copyArrayItem, copyReturn, copySaveFunArg, copyStringBuilder, copyTree, current, div, div, end, eql, eqValue, generate, geq, get, getArg, getArgTail, getArray, getArray, getBaseIterator, getCallableName, getCalledClass, getCountRecursive, getDirty, getFieldArg, getFieldArgRef, getFieldArray, getFieldObject, getFieldVar, getHashCode, getKeyArray, getObject, getObject, getRef, getResourceType, getSize, getThisField, getThisFieldArg, getThisFieldArgRef, getThisFieldArray, getThisFieldObject, getThisFieldVar, getValueArray, getValueType, getVar, gt, hasCurrent, hashCode, increment, initField, initField, isA, isArray, isBinary, isBoolean, isDefault, isDouble, isEmpty, isFieldExists, isFieldInit, isLong, isNull, isNumberConvertible, isNumeric, isset, issetThisField, isString, isUnicode, isVar, key, keyExists, length, leq, lshift, lt, mod, mul, mul, neg, next, nextIndex, pop, pos, postdecr, postincr, postincr, predecr, preincr, preincr, prev, print, print, printDepth, printJavaChar, printJavaString, printR, put, putArray, putField, putObject, putThisField, putThisField, putThisFieldArray, putVar, reset, rshift, serialize, set, setCharValueAt, setFieldInit, setJavaObject, shuffle, sub_rev, sub, sub, subOne, toArgRef, toArrayValue, toAutoObject, toBinaryValue, toBinaryValue, toBinaryValue, toBinaryValueMarshalCost, toBooleanMarshalCost, toByteArrayMarshalCost, toByteMarshalCost, toChar, toCharArrayMarshalCost, toCharMarshalCost, toDebugString, toDouble, toDouble, toDouble, toDouble, toDoubleMarshalCost, toDoubleValue, toException, toFloatMarshalCost, toInt, toIntegerMarshalCost, toInternString, toJavaBoolean, toJavaByte, toJavaCalendar, toJavaCharacter, toJavaCollection, toJavaDate, toJavaDouble, toJavaFloat, toJavaInteger, toJavaList, toJavaLong, toJavaObjectMarshalCost, toJavaShort, toJavaString, toJavaURL, toLocalRef, toLocalThis, toLocalValue, toLocalValueReadOnly, toLocalVar, toLocalVarDeclAsRef, toLong, toLong, toLong, toLong, toLongMarshalCost, toLongValue, toObject, toRef, toRefValue, toShortMarshalCost, toStringBuilder, toStringBuilder, toStringBuilder, toStringBuilder, toStringMarshalCost, toStringValue, toStringValue, toStringValueMarshalCost, toUnicode, toUnicodeValue, toUnicodeValue, toUnicodeValueMarshalCost, toValue, toVar, unsetArray, unsetField, unsetThisArray, unsetThisField, unsetThisPrivateField, valuesToArray, varDump, varExport, varExportImplpublic BigDecimalValue(Env env, java.math.BigDecimal val, JavaClassDef def)
public java.math.BigDecimal toBigDecimal()
toBigDecimal in class Valuepublic java.math.BigInteger toBigInteger()
toBigInteger in class Valuepublic boolean isDoubleConvertible()
isDoubleConvertible in class Valuepublic boolean isLongConvertible()
isLongConvertible in class Value