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