- java.lang.Object
-
- com.ibm.jzos.fields.BinaryAsIntField
-
- com.ibm.jzos.fields.daa.BinarySignedIntField
-
- com.ibm.jzos.fields.daa.BinarySignedIntL3Field
-
- All Implemented Interfaces:
Field
,IntAccessor
public class BinarySignedIntL3Field extends BinarySignedIntField
-
-
Field Summary
-
Fields inherited from class com.ibm.jzos.fields.BinaryAsIntField
DEFAULT_FIELD_WIDTH, MAX_FIELD_WIDTH, SIGNED_MAX_LEN1_VAL, SIGNED_MAX_LEN2_VAL, SIGNED_MAX_LEN3_VAL, SIGNED_MAX_LEN4_VAL, SIGNED_MIN_LEN1_VAL, SIGNED_MIN_LEN2_VAL, SIGNED_MIN_LEN3_VAL, SIGNED_MIN_LEN4_VAL, UNSIGNED_MAX_LEN1_VAL, UNSIGNED_MAX_LEN2_VAL, UNSIGNED_MAX_LEN3_VAL, UNSIGNED_MAX_LEN4_VAL
-
-
Constructor Summary
Constructors Constructor Description BinarySignedIntL3Field(int offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getInt(byte[] buffer)
Answer an int from the given byte array buffer, at the offset of this field.int
getInt(byte[] buffer, int bufOffset)
Answer an int from the given byte array buffer, at the bufOffset + offset of this field.void
putInt(int value, byte[] buffer)
Put a signed int into the given byte array buffer, at the offset of this field.void
putInt(int value, byte[] buffer, int bufOffset)
Put a signed int into thegiven byte array buffer, at the bufOffset + offset of this field.-
Methods inherited from class com.ibm.jzos.fields.daa.BinarySignedIntField
setSigned
-
Methods inherited from class com.ibm.jzos.fields.BinaryAsIntField
equals, getByteLength, getOffset, isSigned, setOffset
-
-
-
-
Method Detail
-
getInt
public int getInt(byte[] buffer)
Description copied from class:BinaryAsIntField
Answer an int from the given byte array buffer, at the offset of this field.- Specified by:
getInt
in interfaceIntAccessor
- Overrides:
getInt
in classBinarySignedIntField
- Parameters:
buffer
- the byte array- Returns:
- int
-
getInt
public int getInt(byte[] buffer, int bufOffset)
Description copied from class:BinaryAsIntField
Answer an int from the given byte array buffer, at the bufOffset + offset of this field.- Specified by:
getInt
in interfaceIntAccessor
- Overrides:
getInt
in classBinarySignedIntField
- Parameters:
buffer
- the byte arraybufOffset
- the additional offset into the byte array- Returns:
- int
-
putInt
public void putInt(int value, byte[] buffer)
Description copied from class:BinaryAsIntField
Put a signed int into the given byte array buffer, at the offset of this field.- Specified by:
putInt
in interfaceIntAccessor
- Overrides:
putInt
in classBinarySignedIntField
- Parameters:
value
- the signed int valuebuffer
- the byte array
-
putInt
public void putInt(int value, byte[] buffer, int bufOffset)
Description copied from class:BinaryAsIntField
Put a signed int into thegiven byte array buffer, at the bufOffset + offset of this field.- Specified by:
putInt
in interfaceIntAccessor
- Overrides:
putInt
in classBinarySignedIntField
- Parameters:
value
- the signed int valuebuffer
- the byte arraybufOffset
- the additional offset into the byte array
-
-