Package com.jsoniter.any
Class DoubleAny
java.lang.Object
com.jsoniter.any.Any
com.jsoniter.any.DoubleAny
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jsoniter.any.Any
Any.EntryIterator
-
Field Summary
FieldsFields inherited from class com.jsoniter.any.Any
EMPTY_ENTRIES_ITERATOR, EMPTY_ITERATOR, EMPTY_KEYS
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jsoniter.any.Any
as, as, as, as, asList, asMap, bindTo, bindTo, bindTo, bindTo, entries, equals, get, get, get, get, hashCode, isWildcard, iterator, keys, lazyArray, lazyDouble, lazyLong, lazyObject, lazyString, mustBeValid, object, registerEncoders, reportUnexpectedType, rewrap, rewrap, set, set, set, set, size, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInt, toLong, toString, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrapArray, wrapNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
val
private double val
-
-
Constructor Details
-
DoubleAny
public DoubleAny(double val)
-
-
Method Details
-
valueType
-
object
-
toBoolean
public boolean toBoolean() -
toInt
public int toInt() -
toLong
public long toLong() -
toFloat
public float toFloat() -
toDouble
public double toDouble() -
toBigInteger
- Specified by:
toBigInteger
in classAny
-
toBigDecimal
- Specified by:
toBigDecimal
in classAny
-
toString
-
set
-
writeTo
- Specified by:
writeTo
in classAny
- Throws:
IOException
-