@Override public void set(long[] value) { for (int i = 0; i < array.length; i++) { array[i].set(value[i]); } }
private ULongArray(int length) { super(new ULONG[length]); for (int i = 0; i < array.length; i++) { array[i] = new ULONG(); } }
@Override public long[] get() { long[] result = new long[array.length]; for (int i = 0; i < array.length; i++) { result[i] = array[i].longValue(); } return result; } }
@Test public void funcKeyDetail() throws Exception { for (final PINService pinService : serviceManager.getServices(PINService.class)) { final ULONG fdkMask = new ULONG(); fdkMask.set(0xFFFFFFFFL); XfsCommand xfsCommand = new XfsInfoCommand<PINInfoCommand>( pinService, PINInfoCommand.FUNCKEY_DETAIL, fdkMask); WFSResult wfsResult = null; try { wfsResult = xfsCommand.call(); WFSPINFUNCKEYDETAIL funcKeyDetail = new WFSPINFUNCKEYDETAIL(wfsResult.getResults()); System.out.println(funcKeyDetail); } finally { if (wfsResult != null) { serviceManager.free(wfsResult); } } } } }
public long getDispensedCount() { return dispensedCount.get(); }
private int getLength() { return length.intValue(); }
public long getCount() { return count.get(); }
public int getDataLength() { return dataLength.intValue(); }
protected PhysicalCashUnit310(Builder builder) { this(); allocate(); super.set(builder); initialCount.set(builder.initialCount); dispensedCount.set(builder.dispensedCount); presentedCount.set(builder.presentedCount); retractedCount.set(builder.retractedCount); rejectCount.set(builder.rejectCount); }
public long getHoldTime() { return holdTime.get(); }
public Optional<byte[]> getData() { Optional<byte[]> result = Optional.empty(); if (!Pointer.NULL.equals(data)) { result = Optional.of(data.buffer(dataLength.intValue()).get()); } return result; }
public long getDigit() { return digit.longValue(); }
public long getCount() { return count.get(); }
public byte[] getChipData() { return chipData.buffer(chipDataLength.intValue()).get(); }
public long getMaximum() { return maximum.get(); }
public byte[] getSignature() { return signature.buffer(length.intValue()).get(); }
protected void set(TellerTotals3 copy) { currencyID.set(copy.getCurrencyID()); itemsReceived.set(copy.getItemsReceived()); itemsDispensed.set(copy.getItemsDispensed()); coinsReceived.set(copy.getCoinsReceived()); coinsDispensed.set(copy.getCoinsDispensed()); cashBoxReceived.set(copy.getCashBoxReceived()); cashBoxDispensed.set(copy.getCashBoxDispensed()); }