public abstract class AbstractUtf8Array extends Object implements Comparable<AbstractUtf8Array>
Constructor and Description |
---|
AbstractUtf8Array() |
Modifier and Type | Method and Description |
---|---|
Utf8Array |
ascii7BitLowerCase() |
int |
compareTo(AbstractUtf8Array rhs) |
boolean |
equals(Object o) |
byte |
getByte(int index)
This will return the byte at the given position.
|
abstract int |
getByteLength() |
protected abstract int |
getByteOffset() |
protected abstract byte[] |
getBytes() |
int |
hashCode() |
boolean |
isEmpty() |
String |
toString()
Will convert the utf8 sequence to a Java string
|
ByteBuffer |
wrap()
Wraps the utf8 sequence in a ByteBuffer
|
void |
writeTo(ByteBuffer target)
This will write the utf8 sequence to the given target.
|
public final void writeTo(ByteBuffer target)
public byte getByte(int index)
public abstract int getByteLength()
public ByteBuffer wrap()
protected abstract byte[] getBytes()
public boolean isEmpty()
protected abstract int getByteOffset()
public String toString()
public int compareTo(AbstractUtf8Array rhs)
compareTo
in interface Comparable<AbstractUtf8Array>
public Utf8Array ascii7BitLowerCase()
Copyright © 2017. All rights reserved.