Package com.jsoniter.any
Class TrueAny
java.lang.Object
com.jsoniter.any.Any
com.jsoniter.any.TrueAny
-
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, 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
-
INSTANCE
-
-
Constructor Details
-
TrueAny
TrueAny()
-
-
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
-
writeTo
- Specified by:
writeTo
in classAny
- Throws:
IOException
-