Uses of Class
org.refcodes.serial.EnumSegment
-
Uses of EnumSegment in org.refcodes.serial
Methods in org.refcodes.serial that return EnumSegmentModifier and TypeMethodDescriptionstatic <E extends Enum<E>>
EnumSegment<E>SerialSugar.enumSegment(Class<E> aType) Constructs an emptyEnumSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theEnumSegment's value.static <E extends Enum<E>>
EnumSegment<E>SerialSugar.enumSegment(Class<E> aType, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyEnumSegmentwith the givenEndianess.static <E extends Enum<E>>
EnumSegment<E>SerialSugar.enumSegment(Class<E> aType, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static <E extends Enum<E>>
EnumSegment<E>SerialSugar.enumSegment(Enum<E> aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aEnumSegmentwith the given enumeration value (payload) and the givenEndianessfor the representation of theEnumSegment's value.static <E extends Enum<E>>
EnumSegment<E>SerialSugar.enumSegment(Enum<E> aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static <E extends Enum<E>>
EnumSegment<E>SerialSugar.enumSegment(String aAlias, Class<E> aType) Constructs an emptyEnumSegmentwith aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of theEnumSegment's value.static <E extends Enum<E>>
EnumSegment<E>SerialSugar.enumSegment(String aAlias, Class<E> aType, Enum<E> aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aEnumSegmentwith the given enumeration value (payload) and the givenEndianessfor the representation of theEnumSegment's value.static <E extends Enum<E>>
EnumSegment<E>SerialSugar.enumSegment(String aAlias, Class<E> aType, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyEnumSegmentwith the givenEndianess.static <E extends Enum<E>>
EnumSegment<E>SerialSugar.enumSegment(String aAlias, Class<E> aType, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static <E extends Enum<E>>
EnumSegment<E>SerialSugar.enumSegment(String aAlias, Enum<E> aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aEnumSegmentwith the given enumeration value (payload) and the givenEndianessfor the representation of theEnumSegment's value.static <E extends Enum<E>>
EnumSegment<E>SerialSugar.enumSegment(String aAlias, Enum<E> aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.EnumSegment.withPayload(Enum<E> aValue)