public class StringRef
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static StringRef[] |
EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
static StringRef [] |
createArray(int count) |
boolean |
equals(java.lang.Object that) |
static StringRef |
fromNullableString(java.lang.String source) |
static StringRef |
fromStream(java.io.DataInput in,
AbstractStringEnumerator store) |
static StringRef |
fromString(java.lang.String source) |
int |
getId(AbstractStringEnumerator store) |
java.lang.String |
getString() |
int |
hashCode() |
int |
length() |
static java.lang.String |
stringFromStream(java.io.DataInput in,
AbstractStringEnumerator store) |
java.lang.String |
toString() |
static java.lang.String |
toString(StringRef ref) |
void |
writeTo(java.io.DataOutput out,
AbstractStringEnumerator store) |
public static final StringRef[] EMPTY_ARRAY
public java.lang.String getString()
public void writeTo(java.io.DataOutput out, AbstractStringEnumerator store) throws java.io.IOException
java.io.IOException
public int getId(AbstractStringEnumerator store)
public java.lang.String toString()
toString
in class java.lang.Object
public int length()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public static java.lang.String toString(StringRef ref)
public static StringRef fromString(java.lang.String source)
public static StringRef fromNullableString(java.lang.String source)
public static StringRef fromStream(java.io.DataInput in, AbstractStringEnumerator store) throws java.io.IOException
java.io.IOException
public static java.lang.String stringFromStream(java.io.DataInput in, AbstractStringEnumerator store) throws java.io.IOException
java.io.IOException
public static StringRef [] createArray(int count)