T - the type of the contained data type.public static class Plc4XSupportedDataTypes.DataTypePair<T extends Serializable> extends Object
Pair that make the usage a bit more readable downstream.| Constructor and Description |
|---|
DataTypePair(org.apache.commons.lang3.tuple.Pair<T,byte[]> dataTypePair) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
byte[] |
getByteRepresentation() |
Class<?> |
getDataTypeClass() |
org.apache.commons.lang3.tuple.Pair<T,byte[]> |
getDataTypePair() |
T |
getValue() |
int |
hashCode() |
static <T extends Serializable> |
of(T value,
byte[] bytes) |
String |
toString() |
public DataTypePair(org.apache.commons.lang3.tuple.Pair<T,byte[]> dataTypePair)
public static <T extends Serializable> Plc4XSupportedDataTypes.DataTypePair<T> of(T value, byte[] bytes)
public T getValue()
public byte[] getByteRepresentation()
public org.apache.commons.lang3.tuple.Pair<T,byte[]> getDataTypePair()
Copyright © 2017–2018 The Apache Software Foundation. All rights reserved.