Class BaseScalarFixedArray

    • Constructor Detail

      • BaseScalarFixedArray

        public BaseScalarFixedArray​(ScalarType elementType,
                                    int size)
        Constructor for fixed size scalar array.
        Parameters:
        elementType - The element Type.
        size - fixed size.
    • 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
      • getElementType

        public ScalarType getElementType()
        Description copied from interface: ScalarArray
        Get the element type for the array.
        Specified by:
        getElementType in interface ScalarArray
        Returns:
        The element 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
      • getArraySizeType

        public Array.ArraySizeType getArraySizeType()
        Description copied from interface: Array
        Get array size type (i.e. variable/fixed/bounded size array).
        Specified by:
        getArraySizeType in interface Array
        Returns:
        array size type enum
      • getMaximumCapacity

        public int getMaximumCapacity()
        Description copied from interface: Array
        Get maximum capacity of the array.
        Specified by:
        getMaximumCapacity in interface Array
        Returns:
        maximum capacity of the array, 0 indicates variable size array