- java.lang.Object
-
- com.ibm.jzos.fields.ExternalDecimalAsLongField
-
- com.ibm.jzos.fields.daa.ZonedUnsignedLongField
-
- com.ibm.jzos.fields.daa.ZonedUnsignedLongP16Field
-
- All Implemented Interfaces:
Field,LongAccessor
public class ZonedUnsignedLongP16Field extends ZonedUnsignedLongField
-
-
Constructor Summary
Constructors Constructor Description ZonedUnsignedLongP16Field(int offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetLong(byte[] buffer)Answer a long value from the given byte array buffer, at the offset of this field.longgetLong(byte[] buffer, int bufOffset)Answer a long value from the given byte array buffer, at the bufOffset + offset of this field.voidputLong(long value, byte[] buffer)Put a long value into the given byte array buffer, at the offset of this field.voidputLong(long value, byte[] buffer, int bufOffset)Put a long value into the given byte array buffer, at the bufOffset + offset of this field.-
Methods inherited from class com.ibm.jzos.fields.ExternalDecimalAsLongField
equals, getByteLength, getLength, getOffset, getPrecision, isBlankWhenZero, isSigned, isSignExternal, isSignTrailing, setOffset, setSignExternal
-
-
-
-
Method Detail
-
getLong
public long getLong(byte[] buffer, int bufOffset)Description copied from class:ExternalDecimalAsLongFieldAnswer a long value from the given byte array buffer, at the bufOffset + offset of this field. TODO need to verify proper runtime optimization of this method.- Specified by:
getLongin interfaceLongAccessor- Overrides:
getLongin classZonedUnsignedLongField- Parameters:
buffer- the byte arraybufOffset- the additional offset into the byte array- Returns:
- long
-
getLong
public long getLong(byte[] buffer)
Description copied from class:ExternalDecimalAsLongFieldAnswer a long value from the given byte array buffer, at the offset of this field.- Specified by:
getLongin interfaceLongAccessor- Overrides:
getLongin classZonedUnsignedLongField- Parameters:
buffer- the byte array- Returns:
- long
-
putLong
public void putLong(long value, byte[] buffer, int bufOffset) throws java.lang.IllegalArgumentExceptionDescription copied from class:ExternalDecimalAsLongFieldPut a long value into the given byte array buffer, at the bufOffset + offset of this field.- Specified by:
putLongin interfaceLongAccessor- Overrides:
putLongin classZonedUnsignedLongField- Parameters:
value- the long valuebuffer- the byte arraybufOffset- the additional offset into the byte array- Throws:
java.lang.IllegalArgumentException- if the value is out of range
-
putLong
public void putLong(long value, byte[] buffer) throws java.lang.IllegalArgumentExceptionDescription copied from class:ExternalDecimalAsLongFieldPut a long value into the given byte array buffer, at the offset of this field.- Specified by:
putLongin interfaceLongAccessor- Overrides:
putLongin classZonedUnsignedLongField- Parameters:
value- the long valuebuffer- the byte array- Throws:
java.lang.IllegalArgumentException- if the value is out of range
-
-