public class CharSequenceValue extends Object implements Value, CharSequence
Constructor and Description |
---|
CharSequenceValue(boolean chop,
Type type,
int startIndex,
int endIndex,
char[] buffer,
boolean encoded,
boolean checkDate) |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
bigDecimalValue() |
BigInteger |
bigIntegerValue() |
boolean |
booleanValue() |
byte |
byteValue() |
char |
charAt(int index) |
char |
charValue() |
void |
chop() |
Date |
dateValue() |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
boolean |
isContainer() |
int |
length() |
long |
longValue() |
short |
shortValue() |
String |
stringValue() |
String |
stringValueEncoded() |
CharSequence |
subSequence(int start,
int end) |
<T extends Enum> |
toEnum(Class<T> cls) |
static <T extends Enum> |
toEnum(Class<T> cls,
int value) |
static <T extends Enum> |
toEnum(Class<T> cls,
String value) |
String |
toString() |
Object |
toValue() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
chars, codePoints
public CharSequenceValue(boolean chop, Type type, int startIndex, int endIndex, char[] buffer, boolean encoded, boolean checkDate)
public String toString()
toString
in interface CharSequence
toString
in class Object
public boolean isContainer()
isContainer
in interface Value
public final int length()
length
in interface CharSequence
public final char charAt(int index)
charAt
in interface CharSequence
public final CharSequence subSequence(int start, int end)
subSequence
in interface CharSequence
public BigDecimal bigDecimalValue()
bigDecimalValue
in interface Value
public BigInteger bigIntegerValue()
bigIntegerValue
in interface Value
public String stringValue()
stringValue
in interface Value
public String stringValueEncoded()
stringValueEncoded
in interface Value
public short shortValue()
shortValue
in interface Value
public double doubleValue()
doubleValue
in interface Value
public boolean booleanValue()
booleanValue
in interface Value
public float floatValue()
floatValue
in interface Value