Class CharSequenceValue
java.lang.Object
groovy.json.internal.CharSequenceValue
- All Implemented Interfaces:
Value, CharSequence
- Author:
- Rick Hightower
-
Constructor Summary
ConstructorsConstructorDescriptionCharSequenceValue(boolean chop, Type type, int startIndex, int endIndex, char[] buffer, boolean encoded, boolean checkDate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbytefinal charcharAt(int index) charfinal voidchop()doublebooleanfloatinthashCode()intintValue()booleanfinal intlength()longshortfinal CharSequencesubSequence(int start, int end) <T extends Enum>
Tstatic <T extends Enum>
Tstatic <T extends Enum>
TtoString()final ObjecttoValue()Methods inherited from interface CharSequence
chars, codePoints, getChars, isEmpty
-
Constructor Details
-
CharSequenceValue
public CharSequenceValue(boolean chop, Type type, int startIndex, int endIndex, char[] buffer, boolean encoded, boolean checkDate)
-
-
Method Details
-
toString
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-
toValue
-
toEnum
-
toEnum
-
toEnum
-
isContainer
public boolean isContainer()- Specified by:
isContainerin interfaceValue
-
equals
-
hashCode
-
length
public final int length()- Specified by:
lengthin interfaceCharSequence
-
charAt
public final char charAt(int index) - Specified by:
charAtin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
bigDecimalValue
- Specified by:
bigDecimalValuein interfaceValue
-
bigIntegerValue
- Specified by:
bigIntegerValuein interfaceValue
-
stringValue
- Specified by:
stringValuein interfaceValue
-
stringValueEncoded
- Specified by:
stringValueEncodedin interfaceValue
-
dateValue
-
intValue
-
longValue
-
byteValue
-
shortValue
public short shortValue()- Specified by:
shortValuein interfaceValue
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein interfaceValue
-
booleanValue
public boolean booleanValue()- Specified by:
booleanValuein interfaceValue
-
floatValue
public float floatValue()- Specified by:
floatValuein interfaceValue
-
chop
-
charValue
-