public class StructByteString extends FSTStruct implements Comparable
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
chars |
protected int |
len |
| Constructor and Description |
|---|
StructByteString(int size) |
StructByteString(String s) |
StructByteString(String init,
int size) |
| Modifier and Type | Method and Description |
|---|---|
byte |
chars(int i) |
void |
chars(int i,
byte val) |
int |
charsLen() |
int |
compareTo(Object o) |
int |
compareTo(StructByteString str) |
int |
compareToString(String str) |
boolean |
equals(Object o) |
Object |
getFieldValues() |
int |
getLen() |
int |
hashCode() |
void |
setLen(int len) |
void |
setString(String s)
modify content of this StructString.
|
String |
toString() |
addOffset, asByteBufferTemporary, baseOn, baseOn, baseOn, baseOn, cast, cast, createCopy, detach, detachTo, finishChangeTracking, getAbsoluteOffset, getBase, getByte, getBytes, getBytes, getByteSize, getChar, getClzId, getDouble, getElementInArraySize, getFac, getFloat, getIndexInBase, getInt, getLong, getOffset, getPointedClass, getShort, isChangeTracking, isIdenticTo, isNull, isOffHeap, isStructArrayPointer, next, next, onHeapHashcode, pointsToNull, previous, setAbsoluteOffset, setBase, setByte, setBytes, setBytes, setBytes, setInt, setLong, setShort, startChangeTracking, toOffHeappublic StructByteString(int size)
public StructByteString(String init, int size)
public StructByteString(String s)
public void setString(String s)
s - public int getLen()
public void setLen(int len)
public void chars(int i,
byte val)
public byte chars(int i)
public int compareTo(StructByteString str)
public int compareToString(String str)
public int charsLen()
public int compareTo(Object o)
compareTo in interface Comparablepublic Object getFieldValues()
getFieldValues in class FSTStructCopyright © 2015. All rights reserved.