com.ibm.jzos.fields
Interface FloatAccessor
-
- All Superinterfaces:
- Field
- All Known Implementing Classes:
- IbmFloatField
public interface FloatAccessor extends Field
An interface which describes aFieldwhich has float accessors.- Since:
- 2.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description floatgetFloat(byte[] buffer)Answer a float from the given byte array buffer, at the offset of this field.floatgetFloat(byte[] buffer, int bufOffset)Answer a float from the given byte array buffer, at the bufOffset + offset of this field.voidputFloat(float value, byte[] buffer)Put a float into the given byte array buffer, at the offset of this field.voidputFloat(float value, byte[] buffer, int bufOffset)Put a float into the given byte array buffer, at the bufOffset + offset of this field.-
Methods inherited from interface com.ibm.jzos.fields.Field
getByteLength, getOffset, setOffset
-
-
-
-
Method Detail
-
getFloat
float getFloat(byte[] buffer)
Answer a float from the given byte array buffer, at the offset of this field.- Parameters:
buffer- the byte array- Returns:
- float
-
getFloat
float getFloat(byte[] buffer, int bufOffset)Answer a float from the given byte array buffer, at the bufOffset + offset of this field.- Parameters:
buffer- the byte arraybufOffset- the additional offset into the byte array- Returns:
- float
-
putFloat
void putFloat(float value, byte[] buffer)Put a float into the given byte array buffer, at the offset of this field.- Parameters:
value- the float valuebuffer- the byte array
-
putFloat
void putFloat(float value, byte[] buffer, int bufOffset)Put a float into the given byte array buffer, at the bufOffset + offset of this field.- Parameters:
value- the float valuebuffer- the byte arraybufOffset- the additional offset into the byte array
-
-