|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
org.eclipse.soda.dk.parameter.BaseParameter
org.eclipse.soda.dk.parameter.BaseKeyParameter
org.eclipse.soda.dk.parameter.NumberParameter
org.eclipse.soda.dk.parameter.SimpleFloatParameter
public class SimpleFloatParameter
| Field Summary | |
|---|---|
static int |
FLOAT_LENGTH
Define the integer length (int) constant. |
| Fields inherited from class org.eclipse.soda.dk.parameter.BaseKeyParameter |
|---|
key |
| Fields inherited from class org.eclipse.soda.dk.parameter.BaseParameter |
|---|
BIT_MASKS, MASKS, SET_MASKS, SET_TOP_MASKS |
| Fields inherited from interface org.eclipse.soda.dk.parameter.service.ParameterService |
|---|
ARRAY, ASCII, ASCIIZ, BOOLEAN, BYTE, BYTES, DOUBLE, FLOAT, HEXASCII, HEXSTRING, INSERT, INTEGER, LITTLEENDIAN, LONG, NASCII, NSTRING, NULL, SERVICE_NAME, SHORT, STRING, UNLIMITED, UNSIGNED, USE_CURSOR, USE_CURSOR_INSERT |
| Constructor Summary | |
|---|---|
SimpleFloatParameter()
Constructs an instance of this class. |
|
SimpleFloatParameter(java.lang.String key)
Constructs an instance of this class from the specified key parameter. |
|
| Method Summary | |
|---|---|
java.lang.Object |
decodeBytes(byte[] container,
ParameterCursorService cursor)
Decode bytes with the specified container and cursor parameters and return the Object result. |
int |
getLength()
Gets the length (int) value. |
long |
longValue(java.lang.Object data)
Long value with the specified data parameter and return the long result. |
| Methods inherited from class org.eclipse.soda.dk.parameter.NumberParameter |
|---|
encodeBytes |
| Methods inherited from class org.eclipse.soda.dk.parameter.BaseKeyParameter |
|---|
getKey, setKey |
| Methods inherited from class org.eclipse.soda.dk.parameter.BaseParameter |
|---|
createCursorChild, decode, decodeEnd, decodeString, decodeValue, decodeValue, encode, encodeData, encodeString, encodeValue, encodeValue, expand, expand, getAbsoluteOffset, getBytes, getDefaultStyle, getLength, getLittleEndianLong, getLong, getOffset, getOffsetAbsolute, getOffsetDefault, getOffsetLength, getOffsetValue, getUnsignedInteger, getUnsignedLittleEndianLong, getUnsignedLittleEngianLong, getUnsignedLong, isConstantParameter, isInsert, isInsert, needsCursor, setBits, setBits, setBits, setBitsLittleEngian, setBytes, setBytes, setBytes, setBytesLittleEndian, updateCursor, updateCursor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int FLOAT_LENGTH
| Constructor Detail |
|---|
public SimpleFloatParameter(java.lang.String key)
key - The key (String) parameter.SimpleFloatParameter()public SimpleFloatParameter()
SimpleFloatParameter(String)| Method Detail |
|---|
public java.lang.Object decodeBytes(byte[] container,
ParameterCursorService cursor)
decodeBytes in class NumberParametercontainer - The container (byte[]) parameter.cursor - The cursor (ParameterCursorService) parameter.
Object) value.NumberParameter.encodeBytes(byte[],Object,ParameterCursorService)public int getLength()
getLength in class BaseParameterint) value.BaseParameter.getLength(ParameterCursorService),
BaseParameter.getOffsetLength()public long longValue(java.lang.Object data)
longValue in class NumberParameterdata - The data (Object) parameter.
long) value.
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||