public final class Enum extends Iced implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static int |
MAX_ENUM_SIZE |
Constructor and Description |
---|
Enum() |
Modifier and Type | Method and Description |
---|---|
long |
addedElems() |
void |
addKey(java.lang.String str) |
int |
addKey(ValueString str)
Add key to this map (treated as hash set in this case).
|
Enum |
clone() |
ValueString[] |
computeColumnDomain() |
boolean |
containsKey(java.lang.Object key) |
int |
getTokenId(java.lang.String str) |
int |
getTokenId(ValueString str) |
boolean |
isKilled() |
void |
kill() |
int |
maxId() |
void |
merge(Enum other) |
Enum |
read(AutoBuffer ab)
Deserialize from the AutoBuffer into a pre-existing 'this' object.
|
int |
size() |
java.lang.String |
toString() |
AutoBuffer |
write(AutoBuffer ab)
Serialize the 'this' object into the AutoBuffer, returning the AutoBuffer.
|
frozenType, init, newInstance, toDocField, writeJSON, writeJSONFields
public static final int MAX_ENUM_SIZE
public int addKey(ValueString str)
str
- public final boolean containsKey(java.lang.Object key)
public void addKey(java.lang.String str)
public int getTokenId(java.lang.String str)
public java.lang.String toString()
toString
in class java.lang.Object
public long addedElems()
public int getTokenId(ValueString str)
public void merge(Enum other)
public int maxId()
public int size()
public boolean isKilled()
public void kill()
public ValueString[] computeColumnDomain()
public AutoBuffer write(AutoBuffer ab)
Freezable