public final class UTF8StringValue extends StringValue
| Modifier and Type | Class and Description |
|---|---|
static class |
UTF8StringValue.CodePointCursor |
| Modifier and Type | Method and Description |
|---|---|
static int |
byteArrayCompare(byte[] value1,
byte[] value2) |
static int |
byteArrayCompare(byte[] value1,
int value1Offset,
int value1Length,
byte[] value2,
int value2Offset,
int value2Length) |
byte[] |
bytes() |
int |
compareTo(TextValue other) |
int |
computeHash() |
boolean |
contains(TextValue other) |
boolean |
endsWith(TextValue other) |
boolean |
equals(boolean[] x) |
boolean |
equals(byte[] 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(Value value) |
boolean |
equals(ZonedDateTime[] x) |
int |
length()
The length of a TextValue is the number of Unicode code points in the text.
|
TextValue |
ltrim() |
TextValue |
plus(TextValue other) |
TextValue |
reverse() |
TextValue |
rtrim() |
boolean |
startsWith(TextValue other) |
TextValue |
substring(int start,
int length) |
TextValue |
trim() |
long |
updateHash(HashFunction hashFunction,
long hash) |
<E extends Exception> |
writeTo(ValueWriter<E> writer) |
asObjectCopy, equals, equals, getTypeName, map, prettyPrint, replace, split, stringValue, toLower, toString, toUpperequals, equals, equals, numberType, substring, valueGroupasObject, eq, hashCode64, isNaN, parseHeaderInformation, ternaryEquals, writeToequals, hashCode, isSequenceValuepublic <E extends Exception> void writeTo(ValueWriter<E> writer) throws E extends Exception
writeTo in class StringValueE extends Exceptionpublic boolean equals(Value value)
equals in class StringValuepublic int length()
TextValuepublic int computeHash()
computeHash in class AnyValuepublic long updateHash(HashFunction hashFunction, long hash)
updateHash in class Valuepublic TextValue substring(int start, int length)
public boolean startsWith(TextValue other)
startsWith in class TextValuepublic int compareTo(TextValue other)
compareTo in class StringValuepublic static int byteArrayCompare(byte[] value1,
byte[] value2)
public static int byteArrayCompare(byte[] value1,
int value1Offset,
int value1Length,
byte[] value2,
int value2Offset,
int value2Length)
public byte[] bytes()
public 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.