Class BaseScalar

    • Field Detail

      • idLUT

        public static final String[] idLUT
        ID for each scalarType
      • typeCodeLUT

        public static final byte[] typeCodeLUT
        Type code for each scalarType.
    • Constructor Detail

      • BaseScalar

        public BaseScalar​(ScalarType scalarType)
        Constructor for BaseScalar.
        Parameters:
        scalarType - The scalar Type.
    • Method Detail

      • getID

        public String getID()
        Description copied from interface: Field
        Get the identification string.
        Specified by:
        getID in interface Field
        Returns:
        the identification string, can be empty
      • getScalarType

        public ScalarType getScalarType()
        Description copied from interface: Scalar
        Get the ScalarType.
        Specified by:
        getScalarType in interface Scalar
        Returns:
        the ScalarType (non-null)
      • toString

        public void toString​(StringBuilder buf,
                             int indentLevel)
        Description copied from interface: Field
        Convert to a string
        Specified by:
        toString in interface Field
        Specified by:
        toString in class BaseField
        Parameters:
        buf - buffer for the result
        indentLevel - the indentation level
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object