Package com.jsoniter.any
Class LongLazyAny
java.lang.Object
com.jsoniter.any.Any
com.jsoniter.any.LazyAny
com.jsoniter.any.LongLazyAny
-
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, writeTo
Methods 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, 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
-
isCached
private boolean isCached -
cache
private long cache
-
-
Constructor Details
-
LongLazyAny
public LongLazyAny(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:
toBigInteger
in classAny
-
toBigDecimal
- Specified by:
toBigDecimal
in classAny
-
fillCache
private void fillCache()
-