public class Plc4XSupportedDataTypes extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Plc4XSupportedDataTypes.DataTypePair<T extends Serializable>
An wrapper for
Pair that make the usage a bit more readable downstream. |
| Constructor and Description |
|---|
Plc4XSupportedDataTypes() |
public static Stream<Class<? extends Serializable>> streamOfPlc4XSupportedDataTypes()
public static Stream<? extends Plc4XSupportedDataTypes.DataTypePair<?>> streamOfLittleEndianDataTypePairs()
Stream of instances of Classes plc4x can currently support with their according little endian byte representation.Plc4XSupportedDataTypes.DataTypePairs of instances and their byte values.streamOfPlc4XSupportedDataTypes()public static Stream<? extends Plc4XSupportedDataTypes.DataTypePair<?>> streamOfLittleEndianDataTypePairs(Stream<Class<? extends Serializable>> inputStream)
Stream of instances of Classes which are defined by inputStream can currently support with their according little endian byte representation.inputStream - a stream of Plc4XSupportedDataTypes.DataTypePairs of instances and their byte values.streamOfPlc4XSupportedDataTypes()public static Stream<? extends Plc4XSupportedDataTypes.DataTypePair<?>> streamOfBigEndianDataTypePairs()
Stream of instances of Classes plc4x can currently support with their according big endian byte representation.Plc4XSupportedDataTypes.DataTypePairs of instances and their byte values.streamOfPlc4XSupportedDataTypes()public static Stream<? extends Plc4XSupportedDataTypes.DataTypePair<?>> streamOfBigEndianDataTypePairs(Stream<Class<? extends Serializable>> inputStream)
Stream of instances of Classes which are defined by inputStream can currently support with their according big endian byte representation.inputStream - a stream of Plc4XSupportedDataTypes.DataTypePairs of instances and their byte values.streamOfPlc4XSupportedDataTypes()public static <T> Optional<T> getDefaultForClass(Class<T> clazz)
clazz.T - the type of Classclazz - the default value to get.public static void defaultAssert(Object actualValue)
actualValue - the value to check.public static void defaultAssert(Object actualValue, Function<? super Plc4XSupportedDataTypes.DataTypePair<?>,? extends Plc4XSupportedDataTypes.DataTypePair<?>> customMapper)
actualValue - the value to check.customMapper - a mapper which manipulates values before they get checked.Copyright © 2017–2018 The Apache Software Foundation. All rights reserved.