public class CharStringCommand
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CharStringCommand.Key
A static class to hold one or more int values as key.
|
Modifier and Type | Field and Description |
---|---|
private CharStringCommand.Key |
commandKey |
static java.util.Map<CharStringCommand.Key,java.lang.String> |
TYPE1_VOCABULARY
A map with the Type1 vocabulary.
|
static java.util.Map<CharStringCommand.Key,java.lang.String> |
TYPE2_VOCABULARY
A map with the Type2 vocabulary.
|
Constructor and Description |
---|
CharStringCommand(int b0)
Constructor with one value.
|
CharStringCommand(int[] values)
Constructor with an array as values.
|
CharStringCommand(int b0,
int b1)
Constructor with two values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
CharStringCommand.Key |
getKey()
The key of the CharStringCommand.
|
int |
hashCode() |
private void |
setKey(CharStringCommand.Key key) |
java.lang.String |
toString() |
private CharStringCommand.Key commandKey
public static final java.util.Map<CharStringCommand.Key,java.lang.String> TYPE1_VOCABULARY
public static final java.util.Map<CharStringCommand.Key,java.lang.String> TYPE2_VOCABULARY
public CharStringCommand(int b0)
b0
- valuepublic CharStringCommand(int b0, int b1)
b0
- value1b1
- value2public CharStringCommand(int[] values)
values
- array of valuespublic CharStringCommand.Key getKey()
private void setKey(CharStringCommand.Key key)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object