public class CommandParser extends Object
| Constructor and Description |
|---|
CommandParser(byte[] characterStr) |
| Modifier and Type | Method and Description |
|---|---|
String |
generateOpAsString(int p,
boolean loseSlashPrefix)
convert Op value to String
|
int |
getCommandID() |
int |
getcurrentOp() |
int |
getOperandCount() |
byte[] |
getStream() |
float[] |
getValuesAsFloat() |
String[] |
getValuesAsString() |
float |
parseFloat(int id) |
int |
parseInt() |
void |
reset() |
public int getCommandID()
public String generateOpAsString(int p, boolean loseSlashPrefix)
p - is current op numberloseSlashPrefix - public final float parseFloat(int id)
public float[] getValuesAsFloat()
public String[] getValuesAsString()
public final int parseInt()
public void reset()
public int getOperandCount()
public byte[] getStream()
public int getcurrentOp()
Copyright © 2017. All rights reserved.