[Java] Class CharSequenceValue

  • org.apache.groovy.json.internal.CharSequenceValue
All Implemented Interfaces and Traits:
Value, CharSequence
public class CharSequenceValue

Constructor Summary

Constructors
Constructor and description
CharSequenceValue (boolean chop, Type type, int startIndex, int endIndex, char[] buffer, boolean encoded, boolean checkDate)

Methods Summary

Methods
Type Params Return Type Name and description
public BigDecimal bigDecimalValue()
public BigInteger bigIntegerValue()
public boolean booleanValue()
public byte byteValue()
public final char charAt(int index)
public char charValue()
public final void chop()
public Date dateValue()
public double doubleValue()
public boolean equals(Object o)
public float floatValue()
public int hashCode()
public int intValue()
public boolean isContainer()
public final int length()
public long longValue()
public short shortValue()
public String stringValue()
public String stringValueEncoded()
public final CharSequence subSequence(int start, int end)
<T extends Enum> public T toEnum(Class<T> cls)
<T extends Enum> public static T toEnum(Class<T> cls, String value)
<T extends Enum> public static T toEnum(Class<T> cls, int value)
public String toString()
public final Object toValue()

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class Object wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Constructor Detail

public CharSequenceValue(boolean chop, Type type, int startIndex, int endIndex, char[] buffer, boolean encoded, boolean checkDate)

Method Detail

public BigDecimal bigDecimalValue()

public BigInteger bigIntegerValue()

public boolean booleanValue()

public byte byteValue()

public final char charAt(int index)

public char charValue()

public final void chop()

public Date dateValue()

public double doubleValue()

public boolean equals(Object o)

public float floatValue()

public int hashCode()

public int intValue()

public boolean isContainer()

public final int length()

public long longValue()

public short shortValue()

public String stringValue()

public String stringValueEncoded()

public final CharSequence subSequence(int start, int end)

<T extends Enum> public T toEnum(Class<T> cls)

<T extends Enum> public static T toEnum(Class<T> cls, String value)

<T extends Enum> public static T toEnum(Class<T> cls, int value)

public String toString()

public final Object toValue()

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/apache/groovy/json/internal/CharSequenceValue.html