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 Summary
Constructors Constructor Description ValueContainer(Object value, Type type, boolean decodeStrings)ValueContainer(List<Object> list)ValueContainer(Map<String,Object> map)ValueContainer(Type type) 
- 
Method Summary
All 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface java.lang.CharSequence
chars, codePoints 
 - 
 
 - 
 
- 
- 
Method Detail
- 
booleanValue
public boolean booleanValue()
- Specified by:
 booleanValuein interfaceValue
 
- 
stringValue
public String stringValue()
- Specified by:
 stringValuein interfaceValue
 
- 
stringValueEncoded
public String stringValueEncoded()
- Specified by:
 stringValueEncodedin interfaceValue
 
- 
toString
public String toString()
- Specified by:
 toStringin interfaceCharSequence- Overrides:
 toStringin classObject
 
- 
isContainer
public boolean isContainer()
- Specified by:
 isContainerin interfaceValue
 
- 
length
public int length()
- Specified by:
 lengthin interfaceCharSequence
 
- 
charAt
public char charAt(int index)
- Specified by:
 charAtin interfaceCharSequence
 
- 
subSequence
public CharSequence subSequence(int start, int end)
- Specified by:
 subSequencein interfaceCharSequence
 
- 
shortValue
public short shortValue()
- Specified by:
 shortValuein interfaceValue
 
- 
bigDecimalValue
public BigDecimal bigDecimalValue()
- Specified by:
 bigDecimalValuein interfaceValue
 
- 
bigIntegerValue
public BigInteger bigIntegerValue()
- Specified by:
 bigIntegerValuein interfaceValue
 
- 
doubleValue
public double doubleValue()
- Specified by:
 doubleValuein interfaceValue
 
- 
floatValue
public float floatValue()
- Specified by:
 floatValuein interfaceValue
 
 - 
 
 -