类 ArrayRagged


  • public class ArrayRagged
    extends Array
    DO NOT USE
    从以下版本开始:
    Nov 15, 2008
    作者:
    caron
    • 构造器详细资料

      • ArrayRagged

        protected ArrayRagged​(int[] shape)
    • 方法详细资料

      • getElementType

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

        protected Array createView​(Index index)
        DO NOT USE, throws UnsupportedOperationException
        指定者:
        createView 在类中 Array
        参数:
        index - use this Index
        返回:
        a view of the Array using the given Index
      • 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
      • 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.
      • getObject

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

        public void setObject​(Index ima,
                              java.lang.Object value)
        从类复制的说明: 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
        参数:
        ima - Index with current element set
        value - the new value.
      • 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
      • getObject

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

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