public int[] asIntArray() { final int ints[] = new int[length]; for (int i = 0; i < length; i++) { ints[i] = array[i].intValue(); } return ints; } }
public void setMilliseconds(int milliseconds) { this.milliseconds.set(milliseconds); } }
public WORDArray(final int length) { super(new WORD[length]); for (int i = 0; i < length; i++) { array[i] = new WORD(); } }
@Override protected void assignBuffer(Buffer buffer) { super.assignBuffer(buffer); highWord.assignBuffer(buffer.subBuffer(highWord.getSize(), highWord.getSize())); lowWord.assignBuffer(buffer.subBuffer(0, lowWord.getSize())); } }
public MemoryChipProtocols(Pointer aPointer) { Buffer buffer = null; for (int i = 0;; i++) { buffer = aPointer.buffer((i * WORD.SIZE) + WORD.SIZE); Buffer subBuffer = buffer.subBuffer(i * WORD.SIZE, WORD.SIZE); WORD word = new WORD(subBuffer); if (word.intValue() == 0L) { memoryChipProtocols = new WORD[i]; assignBuffer(buffer); break; } } }
public int getEjectPosition() { return ejectPosition.get(); }
public WFSPINSTATUS(final XfsVersion xfsVersion) { add(device); add(encStat); add(extra); if (xfsVersion.isGE(XfsVersion.V3_10)) { add(guidLights); add(autoBeepModes); add(certificateState); add(devicePosition); add(powerSaveRecoveryTime); } else { guidLights.allocate(); autoBeepModes.allocate(); certificateState.allocate(); devicePosition.allocate(); powerSaveRecoveryTime.allocate(); } if (xfsVersion.isGE(XfsVersion.V3_20)) { add(antiFraudModule); } else { antiFraudModule.allocate(); } }
public Symbologies(Pointer aPointer) { if (Pointer.NULL.equals(aPointer)) { symbologies = new WORD[0]; } else { Buffer buffer = null; for (int i = 0;; i++) { buffer = aPointer.buffer((i * WORD.SIZE) + WORD.SIZE); Buffer subBuffer = buffer.subBuffer(i * WORD.SIZE, WORD.SIZE); WORD word = new WORD(subBuffer); if (word.intValue() == 0L) { symbologies = new WORD[i]; assignBuffer(buffer); break; } } } }
public int getAntiFraudModule() { return antiFraudModule.get(); }
add(keyCheckModes); } else { keyCheckModes.allocate(); guidLights.allocate(); pinCanPersistAfterUse.allocate(); autoBeep.allocate(); hsmVendor.allocate(); hsmJournaling.allocate(); signatureSchemes.allocate(); emvImportSchemes.allocate(); emvHashAlgorithms.allocate(); keyImportThroughParts.allocate(); encIOProtocols.allocate(); typeCombined.allocate(); setPinblockDataRequired.allocate(); keyBlockImportFormats.allocate(); powerSaveControl.allocate();
public int getSecond() { return second.intValue(); }
public WORD(final int value) { super(); set(value); }
public ParkingStationMedias(Pointer aPointer) { if (Pointer.NULL.equals(aPointer)) { parkingStationMedias = new WORD[0]; } else { Buffer buffer = null; for (int i = 0;; i++) { buffer = aPointer.buffer((i * WORD.SIZE) + WORD.SIZE); Buffer subBuffer = buffer.subBuffer(i * WORD.SIZE, WORD.SIZE); WORD word = new WORD(subBuffer); if (word.intValue() == 0L) { parkingStationMedias = new WORD[i]; assignBuffer(buffer); break; } } } }
public int getMaxDispenseItems() { return maxDispenseItems.get(); }
private SIUCapabilities(final XfsVersion version) { add(serviceClass); add(type); add(sensors); add(doors); add(indicators); add(auxiliaries); add(guidLights); add(extra); if (version.isGE(XfsVersion.V3_10)) { add(powerSaveControl); } else { powerSaveControl.allocate(); } if (version.isGE(XfsVersion.V3_20)) { add(autoStartupMode); add(antiFraudModule); } else { autoStartupMode.allocate(); antiFraudModule.allocate(); } }
public int getDay() { return day.intValue(); }
public void disableEvent() { value.set((int) DISABLE_EVENT); } }
public int getUnitX() { return unitX.get(); }
@Override protected void assignBuffer(Buffer aBuffer) { super.assignBuffer(aBuffer); for (int i = 0; i < symbologies.length; i++) { symbologies[i] = new WORD(getBuffer().subBuffer(i * WORD.SIZE, WORD.SIZE)); } }