public class BufferedString extends Iced implements java.lang.Comparable<BufferedString>
ParseTest2#testSpeedOfCategoricalUpdate
.
Warning: This data structure is not designed for parallel access!Modifier and Type | Field and Description |
---|---|
static byte |
INT |
static byte |
NA |
static byte |
REAL |
Constructor and Description |
---|
BufferedString() |
BufferedString(byte[] buf,
int off,
int len) |
BufferedString(java.lang.String from) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
bytesToString() |
int |
compareTo(BufferedString o)
Comparison, according to Comparable interface
|
boolean |
equals(java.lang.Object o) |
byte[] |
getBuffer() |
byte |
getNumericType() |
int |
getOffset() |
int |
hashCode() |
boolean |
isOneOf(java.lang.String[] samples) |
int |
length() |
BufferedString |
read_impl(AutoBuffer ab) |
boolean |
sameString(java.lang.String str) |
BufferedString |
set(byte[] buf) |
BufferedString |
set(byte[] buf,
int off,
int len) |
BufferedString |
set(java.lang.String s) |
void |
setOff(int off) |
static BufferedString[] |
toBufferedString(java.lang.String[] strings) |
java.lang.String |
toString() |
static java.lang.String[] |
toString(BufferedString[] bStr) |
AutoBuffer |
write_impl(AutoBuffer ab) |
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public static final byte NA
public static final byte INT
public static final byte REAL
public BufferedString(byte[] buf, int off, int len)
public BufferedString(java.lang.String from)
public BufferedString()
public final AutoBuffer write_impl(AutoBuffer ab)
public final BufferedString read_impl(AutoBuffer ab)
public int compareTo(BufferedString o)
compareTo
in interface java.lang.Comparable<BufferedString>
o
- other string to comparepublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String bytesToString()
public static java.lang.String[] toString(BufferedString[] bStr)
public static BufferedString[] toBufferedString(java.lang.String[] strings)
public final BufferedString set(byte[] buf)
public final BufferedString set(byte[] buf, int off, int len)
public final BufferedString set(java.lang.String s)
public void setOff(int off)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean sameString(java.lang.String str)
public boolean isOneOf(java.lang.String[] samples)
public final byte[] getBuffer()
public final int getOffset()
public final int length()
public final byte getNumericType()