Package com.jsoniter.any
Class StringLazyAny
- java.lang.Object
-
- com.jsoniter.any.Any
-
- com.jsoniter.any.LazyAny
-
- com.jsoniter.any.StringLazyAny
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jsoniter.any.Any
Any.EntryIterator
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
cache
private static java.lang.String
FALSE
-
Fields inherited from class com.jsoniter.any.Any
EMPTY_ENTRIES_ITERATOR, EMPTY_ITERATOR, EMPTY_KEYS
-
-
Constructor Summary
Constructors Constructor Description StringLazyAny(byte[] data, int head, int tail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
fillCache()
java.lang.Object
object()
java.math.BigDecimal
toBigDecimal()
java.math.BigInteger
toBigInteger()
boolean
toBoolean()
double
toDouble()
float
toFloat()
int
toInt()
long
toLong()
java.lang.String
toString()
ValueType
valueType()
-
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
-
-
-
-
Field Detail
-
FALSE
private static final java.lang.String FALSE
- See Also:
- Constant Field Values
-
cache
private java.lang.String cache
-
-
Method Detail
-
toBigInteger
public java.math.BigInteger toBigInteger()
- Specified by:
toBigInteger
in classAny
-
toBigDecimal
public java.math.BigDecimal toBigDecimal()
- Specified by:
toBigDecimal
in classAny
-
fillCache
private void fillCache()
-
-