Package com.jsoniter.any
Class DoubleLazyAny
java.lang.Object
com.jsoniter.any.Any
com.jsoniter.any.LazyAny
com.jsoniter.any.DoubleLazyAny
-
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.LazyAny
as, as, bindTo, bindTo, parse, toString, writeToMethods inherited from class com.jsoniter.any.Any
as, as, asList, asMap, 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, set, size, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInt, toLong, toString, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrap, wrapArray, wrapNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
isCached
private boolean isCached -
cache
private double cache
-
-
Constructor Details
-
DoubleLazyAny
public DoubleLazyAny(byte[] data, int head, int tail)
-
-
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:
toBigIntegerin classAny
-
toBigDecimal
- Specified by:
toBigDecimalin classAny
-
fillCache
private void fillCache()
-