类 ArrayStructure


  • public class ArrayStructure
    extends Array
    作者:
    Yaqiang Wang
    • 构造器详细资料

      • ArrayStructure

        public ArrayStructure​(int[] shape)
      • ArrayStructure

        protected ArrayStructure​(Index index)
    • 方法详细资料

      • getArrayObject

        public java.lang.Object getArrayObject()
        Get array object - NetCDF array object
        返回:
        Array object
      • setArrayObject

        public void setArrayObject​(java.lang.Object value)
        Set array object
        参数:
        value - Array object
      • copy

        public Array copy()
        DO NOT USE, throws UnsupportedOperationException
        覆盖:
        copy 在类中 Array
        返回:
        the new Array
      • getDouble

        public double getDouble​(Index i)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        getDouble 在类中 Array
        参数:
        i - Index with current element set
        返回:
        value at index cast to double if necessary.
      • setDouble

        public void setDouble​(Index i,
                              double value)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        setDouble 在类中 Array
        参数:
        i - Index with current element set
        value - the new value; cast to underlying data type if necessary.
      • getFloat

        public float getFloat​(Index i)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        getFloat 在类中 Array
        参数:
        i - Index with current element set
        返回:
        value at index cast to float if necessary.
      • setFloat

        public void setFloat​(Index i,
                             float value)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        setFloat 在类中 Array
        参数:
        i - Index with current element set
        value - the new value; cast to underlying data type if necessary.
      • getLong

        public long getLong​(Index i)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        getLong 在类中 Array
        参数:
        i - Index with current element set
        返回:
        value at index cast to long if necessary.
      • setLong

        public void setLong​(Index i,
                            long value)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        setLong 在类中 Array
        参数:
        i - Index with current element set
        value - the new value; cast to underlying data type if necessary.
      • getInt

        public int getInt​(Index i)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        getInt 在类中 Array
        参数:
        i - Index with current element set
        返回:
        value at index cast to int if necessary.
      • setInt

        public void setInt​(Index i,
                           int value)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        setInt 在类中 Array
        参数:
        i - Index with current element set
        value - the new value; cast to underlying data type if necessary.
      • getShort

        public short getShort​(Index i)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        getShort 在类中 Array
        参数:
        i - Index with current element set
        返回:
        value at index cast to short if necessary.
      • setShort

        public void setShort​(Index i,
                             short value)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        setShort 在类中 Array
        参数:
        i - Index with current element set
        value - the new value; cast to underlying data type if necessary.
      • getByte

        public byte getByte​(Index i)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        getByte 在类中 Array
        参数:
        i - Index with current element set
        返回:
        value at index cast to float if necessary.
      • setByte

        public void setByte​(Index i,
                            byte value)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        setByte 在类中 Array
        参数:
        i - Index with current element set
        value - the new value; cast to underlying data type if necessary.
      • getBoolean

        public boolean getBoolean​(Index i)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        getBoolean 在类中 Array
        参数:
        i - Index with current element set
        返回:
        value at index cast to boolean if necessary.
      • setBoolean

        public void setBoolean​(Index i,
                               boolean value)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        setBoolean 在类中 Array
        参数:
        i - Index with current element set
        value - the new value; cast to underlying data type if necessary.
      • getString

        public java.lang.String getString​(Index i)
        not legal, throw ForbiddenConversionException
        指定者:
        getString 在类中 Array
        参数:
        i - Index with current element set
        返回:
        value at index cast to string if necessary.
      • setString

        public void setString​(Index i,
                              java.lang.String value)
        not legal, throw ForbiddenConversionException
        指定者:
        setString 在类中 Array
        参数:
        i - Index with current element set
        value - the new value; cast to underlying data type if necessary.
      • getComplex

        public Complex getComplex​(Index i)
        not legal, throw ForbiddenConversionException
        指定者:
        getComplex 在类中 Array
        参数:
        i - Index with current element set
        返回:
        value at index cast to boolean if necessary.
      • setComplex

        public void setComplex​(Index i,
                               Complex value)
        not legal, throw ForbiddenConversionException
        指定者:
        setComplex 在类中 Array
        参数:
        i - Index with current element set
        value - the new value; cast to underlying data type if necessary.
      • getChar

        public char getChar​(Index i)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        getChar 在类中 Array
        参数:
        i - Index with current element set
        返回:
        value at index cast to char if necessary.
      • setChar

        public void setChar​(Index i,
                            char value)
        DO NOT USE, throw ForbiddenConversionException
        指定者:
        setChar 在类中 Array
        参数:
        i - Index with current element set
        value - the new value; cast to underlying data type if necessary.
      • getDouble

        public double getDouble​(int index)
        指定者:
        getDouble 在类中 Array
      • setDouble

        public void setDouble​(int index,
                              double value)
        指定者:
        setDouble 在类中 Array
      • getFloat

        public float getFloat​(int index)
        指定者:
        getFloat 在类中 Array
      • setFloat

        public void setFloat​(int index,
                             float value)
        指定者:
        setFloat 在类中 Array
      • getLong

        public long getLong​(int index)
        指定者:
        getLong 在类中 Array
      • setLong

        public void setLong​(int index,
                            long value)
        指定者:
        setLong 在类中 Array
      • getInt

        public int getInt​(int index)
        指定者:
        getInt 在类中 Array
      • setInt

        public void setInt​(int index,
                           int value)
        指定者:
        setInt 在类中 Array
      • getShort

        public short getShort​(int index)
        指定者:
        getShort 在类中 Array
      • setShort

        public void setShort​(int index,
                             short value)
        指定者:
        setShort 在类中 Array
      • getByte

        public byte getByte​(int index)
        指定者:
        getByte 在类中 Array
      • setByte

        public void setByte​(int index,
                            byte value)
        指定者:
        setByte 在类中 Array
      • getChar

        public char getChar​(int index)
        指定者:
        getChar 在类中 Array
      • setChar

        public void setChar​(int index,
                            char value)
        指定者:
        setChar 在类中 Array
      • getBoolean

        public boolean getBoolean​(int index)
        指定者:
        getBoolean 在类中 Array
      • setBoolean

        public void setBoolean​(int index,
                               boolean value)
        指定者:
        setBoolean 在类中 Array
      • getString

        public java.lang.String getString​(int index)
        指定者:
        getString 在类中 Array
      • setString

        public void setString​(int index,
                              java.lang.String value)
        指定者:
        setString 在类中 Array
      • getElementType

        public java.lang.Class getElementType()
        从类复制的说明: Array
        Get the element class type of this Array
        指定者:
        getElementType 在类中 Array
        返回:
        the class of the element
      • getStorage

        public java.lang.Object getStorage()
        从类复制的说明: Array
        Get underlying primitive array storage. Exposed for efficiency, use at your own risk.
        指定者:
        getStorage 在类中 Array
        返回:
        underlying primitive array storage
      • createView

        protected Array createView​(Index arg0)
        从类复制的说明: Array
        create new Array with given Index and the same backing store
        指定者:
        createView 在类中 Array
        参数:
        arg0 - use this Index
        返回:
        a view of the Array using the given Index
      • getObject

        public java.lang.Object getObject​(Index arg0)
        从类复制的说明: Array
        Get the array element at index as an Object. The returned value is wrapped in an object, eg Double for double
        指定者:
        getObject 在类中 Array
        参数:
        arg0 - element Index
        返回:
        Object value at index
      • setObject

        public void setObject​(Index arg0,
                              java.lang.Object arg1)
        从类复制的说明: Array
        Set the array element at index to the specified value. the value must be passed wrapped in the appropriate Object (eg Double for double)
        指定者:
        setObject 在类中 Array
        参数:
        arg0 - Index with current element set
        arg1 - the new value.
      • getObject

        public java.lang.Object getObject​(int arg0)
        指定者:
        getObject 在类中 Array
      • setObject

        public void setObject​(int arg0,
                              java.lang.Object arg1)
        指定者:
        setObject 在类中 Array