@Override public void set(List<Set<T>> value) { for (int i = 0; i < array.length; i++) { long l = 0L; for (T each : value.get(i)) { l |= each.getValue(); } array[i].set(l); } }
@Override public Map.Entry<String, String> next() { if (value == null) { throw new NoSuchElementException("iValue: " + iValue); } iValue.set(iValue.longValue() + 1L); try { return value; } finally { value = null; } }
@Override public String nextElement() { if (name == null) { throw new NoSuchElementException(); } iSubKey.set(iSubKey.longValue() + 1); return name; }
/** * {@link #rsaKeyCheckModes} */ public void setRSAKeyCheckModes(final Set<PINRSAKeyCheckMode> rsaKeyCheckModes) { this.rsaKeyCheckModes.set((int) Bitmask.of(rsaKeyCheckModes)); }
/** * {@link #signatureSchemes} */ public void setSignatureSchemes(final Set<PINSignatureSchemes> signatureSchemes) { this.signatureSchemes.set((int) Bitmask.of(signatureSchemes)); }
public DWORD(final long value) { this(); allocate(); set(value); }
@Override public String next() { if (nextKeyName == null) { throw new NoSuchElementException("iSubKey: " + iSubKey); } iSubKey.set(iSubKey.longValue() + 1L); try { return nextKeyName; } finally { nextKeyName = null; } }
/** * {@link #rsaSignatureAlgorithms} */ public void setRSASignatureAlgorithms(final Set<PINRSASignatureAlgorithm> rsaSignatureAlgorithms) { this.rsaSignatureAlgorithms.set((int) Bitmask.of(rsaSignatureAlgorithms)); }
/** * {@link #rsaCryptAlgorithms} */ public void setRSACryptAlgorithms(final Set<PINRSACryptAlgorithm> rsaCryptAlgorithms) { this.rsaCryptAlgorithms.set((int) Bitmask.of(rsaCryptAlgorithms)); }
/** * {@link #rsaAuthenticationSchemes} */ public void setRSAAuthenticationSchemes(final Set<PINRSAAuthenticationScheme> rsaAuthenticationSchemes) { this.rsaAuthenticationSchemes.set((int) Bitmask.of(rsaAuthenticationSchemes)); }
public void setUse(PINUse use) { this.use.set(use.getValue()); }
protected void set(Reset3 copy) { mediaControl.set(copy.getMediaControl()); retractBinNumber.set(copy.getRetractBinNumber()); }
public WFSResult(RequestId requestID, HSERVICE hService, INT result, DWORD commandCode) { this(); allocate(); this.requestID.set(requestID); this.service.set(hService); this.result.set(result); this.u.get(COMMANDCODE, DWORD.class).set(commandCode); }
public WfsPINEMVImportPublicKey(WfsPINEMVImportPublicKey importPublicKey) { this(); allocate(); setKey(importPublicKey.getKey()); use.set(importPublicKey.use); importScheme.set(importPublicKey.getImportScheme()); setImportData(importPublicKey.getImportData()); setSigKey(importPublicKey.getSigKey()); }
public WfsHardwareError2(WfsHardwareError2 copy) { addFields(); logicalName.set(copy.getLogicalName()); workstationName.set(copy.getWorkstationName()); appId.set(copy.getAppId()); length.set(copy.length); description.pointTo(new ByteArray(copy.getDescription())); }
public WFSResult(WFSResult copy) { this(); allocate(); this.requestID.set(copy.getRequestID()); this.service.set(copy.getService()); this.timestamp.set(copy.getTimestamp()); this.result.set(copy.getResult()); this.u.get(COMMANDCODE, DWORD.class).set(copy.u.get(COMMANDCODE, DWORD.class)); }
public WfsVersionError(WfsVersionError copy) { this(); allocate(); logicalName.set(copy.getLogicalName()); workstationName.set(copy.getWorkstationName()); appId.set(copy.getAppId()); length.set(copy.length); description.pointTo(new ByteArray(copy.getDescription())); wfsVersion.pointTo(new WFSVersion(copy.getWfsVersion())); }
public WFSPINSTATUS(final XfsVersion xfsVersion, final WFSPINSTATUS pinStatus) { this(xfsVersion); allocate(); device.set(pinStatus.getDevice()); encStat.set(pinStatus.getEncStat()); setExtra(pinStatus.getExtra()); // TODO: guidLights autoBeepModes.set(pinStatus.autoBeepModes); certificateState.set(pinStatus.certificateState); devicePosition.set(pinStatus.getDevicePosition()); powerSaveRecoveryTime.set(pinStatus.powerSaveRecoveryTime); antiFraudModule.set(pinStatus.antiFraudModule); }
public WfsUndeliverableMessage(WfsUndeliverableMessage copy) { this(); allocate(); logicalName.set(copy.getLogicalName()); workstationName.set(copy.getWorkstationName()); appId.set(copy.getAppId()); length.set(copy.length); description.pointTo(new ByteArray(copy.getDescription())); wfsResult.pointTo(new WFSResult(copy.getWfsResult())); }
public WfsHardwareError3(WfsHardwareError3 copy) { this(); allocate(); logicalName.set(copy.getLogicalName()); physicalName.set(copy.getPhysicalName()); workstationName.set(copy.getWorkstationName()); appId.set(copy.getAppId()); action.set(copy.getAction()); length.set(copy.length); description.pointTo(new ByteArray(copy.getDescription())); }