public final class CharValue extends TextValue
| Modifier and Type | Method and Description |
|---|---|
Object |
asObjectCopy()
Return this value as a regular java boxed primitive, String or primitive array.
|
int |
compareTo(TextValue other) |
int |
computeHash() |
boolean |
contains(TextValue other) |
boolean |
endsWith(TextValue other) |
boolean |
eq(Object other) |
boolean |
equals(boolean[] x) |
boolean |
equals(byte[] x) |
boolean |
equals(char x) |
boolean |
equals(char[] x) |
boolean |
equals(double[] x) |
boolean |
equals(DurationValue[] x) |
boolean |
equals(float[] x) |
boolean |
equals(int[] x) |
boolean |
equals(LocalDate[] x) |
boolean |
equals(LocalDateTime[] x) |
boolean |
equals(LocalTime[] x) |
boolean |
equals(long[] x) |
boolean |
equals(OffsetTime[] x) |
boolean |
equals(short[] x) |
boolean |
equals(String x) |
boolean |
equals(String[] x) |
boolean |
equals(Value other) |
boolean |
equals(ZonedDateTime[] x) |
String |
getTypeName() |
int |
length()
The length of a TextValue is the number of Unicode code points in the text.
|
TextValue |
ltrim() |
<T> T |
map(ValueMapper<T> mapper) |
TextValue |
plus(TextValue other) |
String |
prettyPrint()
Returns a json-like string representation of the current value.
|
TextValue |
replace(String find,
String replace) |
TextValue |
reverse() |
TextValue |
rtrim() |
ListValue |
split(String separator) |
boolean |
startsWith(TextValue other) |
String |
stringValue() |
TextValue |
substring(int start,
int length) |
TextValue |
toLower() |
String |
toString() |
TextValue |
toUpper() |
TextValue |
trim() |
long |
updateHash(HashFunction hashFunction,
long hash) |
static long |
updateHash(HashFunction hashFunction,
long hash,
char value) |
char |
value() |
<E extends Exception> |
writeTo(ValueWriter<E> writer) |
equals, equals, equals, numberType, substring, valueGroupasObject, hashCode64, isNaN, parseHeaderInformation, ternaryEquals, writeToequals, hashCode, isSequenceValuepublic int computeHash()
computeHash in class AnyValuepublic long updateHash(HashFunction hashFunction, long hash)
updateHash in class Valuepublic static long updateHash(HashFunction hashFunction, long hash, char value)
public <E extends Exception> void writeTo(ValueWriter<E> writer) throws E extends Exception
public Object asObjectCopy()
ValueasObjectCopy in class Valuepublic String prettyPrint()
ValueprettyPrint in class Valuepublic String stringValue()
stringValue in class TextValuepublic int length()
TextValuepublic TextValue substring(int start, int length)
public boolean startsWith(TextValue other)
startsWith in class TextValuepublic char value()
public <T> T map(ValueMapper<T> mapper)
public String getTypeName()
getTypeName in class AnyValuepublic final boolean equals(ZonedDateTime[] x)
public final boolean equals(DurationValue[] x)
public final boolean equals(LocalDateTime[] x)
public final boolean equals(OffsetTime[] x)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.