Enum Class DataType

java.lang.Object
java.lang.Enum<DataType>
org.orekit.gnss.metric.parser.DataType
All Implemented Interfaces:
Serializable, Comparable<DataType>, Constable

public enum DataType extends Enum<DataType>
Enum containing all low level data types that can be parsed to build a message.
Since:
11.0
Author:
Luc Maisonobe
  • Enum Constant Details

    • BIT_1

      public static final DataType BIT_1
      1 bit.
    • BIT_2

      public static final DataType BIT_2
      2 bits.
    • BIT_3

      public static final DataType BIT_3
      3 bits.
    • BIT_4

      public static final DataType BIT_4
      4 bits.
    • BIT_6

      public static final DataType BIT_6
      6 bits.
    • BIT_7

      public static final DataType BIT_7
      7 bits.
    • BIT_8

      public static final DataType BIT_8
      8 bits.
    • BIT_10

      public static final DataType BIT_10
      10 bits.
    • BIT_12

      public static final DataType BIT_12
      12 bits.
    • BIT_24

      public static final DataType BIT_24
      24 bits.
    • BIT_32

      public static final DataType BIT_32
      32 bits.
    • BIT_64

      public static final DataType BIT_64
      64 bits.
    • INT_6

      public static final DataType INT_6
      6 bits signed integer.
    • INT_8

      public static final DataType INT_8
      8 bits signed integer.
    • INT_9

      public static final DataType INT_9
      9 bits signed integer.
    • INT_10

      public static final DataType INT_10
      10 bits signed integer.
    • INT_11

      public static final DataType INT_11
      11 bits signed integer.
    • INT_14

      public static final DataType INT_14
      14 bits signed integer.
    • INT_15

      public static final DataType INT_15
      15 bits signed integer.
    • INT_16

      public static final DataType INT_16
      16 bits signed integer.
    • INT_17

      public static final DataType INT_17
      17 bits signed integer.
    • INT_18

      public static final DataType INT_18
      18 bits signed integer.
    • INT_19

      public static final DataType INT_19
      19 bits signed integer.
    • INT_20

      public static final DataType INT_20
      20 bits signed integer.
    • INT_21

      public static final DataType INT_21
      21 bits signed integer.
    • INT_22

      public static final DataType INT_22
      22 bits signed integer.
    • INT_23

      public static final DataType INT_23
      23 bits signed integer.
    • INT_24

      public static final DataType INT_24
      24 bits signed integer.
    • INT_25

      public static final DataType INT_25
      25 bits signed integer.
    • INT_26

      public static final DataType INT_26
      26 bits signed integer.
    • INT_27

      public static final DataType INT_27
      27 bits signed integer.
    • INT_30

      public static final DataType INT_30
      30 bits signed integer.
    • INT_31

      public static final DataType INT_31
      31 bits signed integer.
    • INT_32

      public static final DataType INT_32
      32 bits signed integer.
    • INT_34

      public static final DataType INT_34
      34 bits signed integer.
    • INT_35

      public static final DataType INT_35
      35 bits signed integer.
    • INT_38

      public static final DataType INT_38
      38 bits signed integer.
    • U_INT_2

      public static final DataType U_INT_2
      2 bits unsigned integer.
    • U_INT_3

      public static final DataType U_INT_3
      3 bits unsigned integer.
    • U_INT_4

      public static final DataType U_INT_4
      4 bits unsigned integer.
    • U_INT_5

      public static final DataType U_INT_5
      5 bits unsigned integer.
    • U_INT_6

      public static final DataType U_INT_6
      6 bits unsigned integer.
    • U_INT_7

      public static final DataType U_INT_7
      7 bits unsigned integer.
    • U_INT_8

      public static final DataType U_INT_8
      8 bits unsigned integer.
    • U_INT_9

      public static final DataType U_INT_9
      9 bits unsigned integer.
    • U_INT_10

      public static final DataType U_INT_10
      10 bits unsigned integer.
    • U_INT_11

      public static final DataType U_INT_11
      11 bits unsigned integer.
    • U_INT_12

      public static final DataType U_INT_12
      12 bits unsigned integer.
    • U_INT_13

      public static final DataType U_INT_13
      13 bits unsigned integer.
    • U_INT_14

      public static final DataType U_INT_14
      14 bits unsigned integer.
    • U_INT_16

      public static final DataType U_INT_16
      16 bits unsigned integer.
    • U_INT_17

      public static final DataType U_INT_17
      17 bits unsigned integer.
    • U_INT_18

      public static final DataType U_INT_18
      18 bits unsigned integer.
    • U_INT_20

      public static final DataType U_INT_20
      20 bits unsigned integer.
    • U_INT_23

      public static final DataType U_INT_23
      23 bits unsigned integer.
    • U_INT_24

      public static final DataType U_INT_24
      24 bits unsigned integer.
    • U_INT_25

      public static final DataType U_INT_25
      25 bits unsigned integer.
    • U_INT_26

      public static final DataType U_INT_26
      26 bits unsigned integer.
    • U_INT_27

      public static final DataType U_INT_27
      27 bits unsigned integer.
    • U_INT_30

      public static final DataType U_INT_30
      30 bits unsigned integer.
    • U_INT_32

      public static final DataType U_INT_32
      32 bits unsigned integer.
    • U_INT_35

      public static final DataType U_INT_35
      35 bits unsigned integer.
    • U_INT_36

      public static final DataType U_INT_36
      36 bits unsigned integer.
    • INT_S_5

      public static final DataType INT_S_5
      5 bits sign-magnitude integer.
    • INT_S_11

      public static final DataType INT_S_11
      11 bits sign-magnitude integer.
    • INT_S_22

      public static final DataType INT_S_22
      22 bits sign-magnitude integer.
    • INT_S_24

      public static final DataType INT_S_24
      24 bits sign-magnitude integer.
    • INT_S_27

      public static final DataType INT_S_27
      27 bits sign-magnitude integer.
    • INT_S_32

      public static final DataType INT_S_32
      32 bits sign-magnitude integer.
  • Method Details

    • values

      public static DataType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DataType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • decode

      public Long decode(EncodedMessage message)
      Decode a piece of data extracted from an encoded message.
      Parameters:
      message - encoded message providing the bits to decode
      Returns:
      data decoded as a Long object, or null if data not available