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