Package org.apache.groovy.json.internal
Class ValueContainer
- java.lang.Object
- 
- org.apache.groovy.json.internal.ValueContainer
 
- 
- 
Constructor SummaryConstructors Constructor Description ValueContainer(java.lang.Object value, Type type, boolean decodeStrings)ValueContainer(java.util.List<java.lang.Object> list)ValueContainer(java.util.Map<java.lang.String,java.lang.Object> map)ValueContainer(Type type)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigDecimalbigDecimalValue()java.math.BigIntegerbigIntegerValue()booleanbooleanValue()bytebyteValue()charcharAt(int index)charcharValue()voidchop()java.util.DatedateValue()doubledoubleValue()floatfloatValue()intintValue()booleanisContainer()intlength()longlongValue()shortshortValue()java.lang.StringstringValue()java.lang.StringstringValueEncoded()java.lang.CharSequencesubSequence(int start, int end)<T extends java.lang.Enum>
 TtoEnum(java.lang.Class<T> cls)java.lang.StringtoString()java.lang.ObjecttoValue()
 
- 
- 
- 
Constructor Detail- 
ValueContainerpublic ValueContainer(java.lang.Object value, Type type, boolean decodeStrings)
 - 
ValueContainerpublic ValueContainer(Type type) 
 - 
ValueContainerpublic ValueContainer(java.util.Map<java.lang.String,java.lang.Object> map) 
 - 
ValueContainerpublic ValueContainer(java.util.List<java.lang.Object> list) 
 
- 
 - 
Method Detail- 
booleanValuepublic boolean booleanValue() - Specified by:
- booleanValuein interface- Value
 
 - 
stringValuepublic java.lang.String stringValue() - Specified by:
- stringValuein interface- Value
 
 - 
stringValueEncodedpublic java.lang.String stringValueEncoded() - Specified by:
- stringValueEncodedin interface- Value
 
 - 
toStringpublic java.lang.String toString() - Specified by:
- toStringin interface- java.lang.CharSequence
- Overrides:
- toStringin class- java.lang.Object
 
 - 
toEnumpublic <T extends java.lang.Enum> T toEnum(java.lang.Class<T> cls) 
 - 
isContainerpublic boolean isContainer() - Specified by:
- isContainerin interface- Value
 
 - 
lengthpublic int length() - Specified by:
- lengthin interface- java.lang.CharSequence
 
 - 
charAtpublic char charAt(int index) - Specified by:
- charAtin interface- java.lang.CharSequence
 
 - 
subSequencepublic java.lang.CharSequence subSequence(int start, int end)- Specified by:
- subSequencein interface- java.lang.CharSequence
 
 - 
shortValuepublic short shortValue() - Specified by:
- shortValuein interface- Value
 
 - 
bigDecimalValuepublic java.math.BigDecimal bigDecimalValue() - Specified by:
- bigDecimalValuein interface- Value
 
 - 
bigIntegerValuepublic java.math.BigInteger bigIntegerValue() - Specified by:
- bigIntegerValuein interface- Value
 
 - 
doubleValuepublic double doubleValue() - Specified by:
- doubleValuein interface- Value
 
 - 
floatValuepublic float floatValue() - Specified by:
- floatValuein interface- Value
 
 
- 
 
-