类 FlatIndex


  • public class FlatIndex
    extends java.lang.Object
    • 构造器概要

      构造器 
      构造器 说明
      FlatIndex​(Array array)
      Constructor
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.Object getObject​(int idx)
      Get object
      Array section​(int first, int last, int stride)
      Get section array
      Array section​(java.util.List<java.lang.Integer> idx)
      Set section array
      void setObject​(int idx, java.lang.Object value)
      Set object
      void setSection​(int first, int last, int stride, java.lang.Object value)
      Set section array
      void setSection​(int first, int last, int stride, Array value)
      Set section array
      void setSection​(java.util.List<java.lang.Integer> idx, java.lang.Object value)
      Set section
      void setSection​(java.util.List<java.lang.Integer> idx, Array value)
      Set section
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • FlatIndex

        public FlatIndex​(Array array)
        Constructor
        参数:
        array - The array
    • 方法详细资料

      • getObject

        public java.lang.Object getObject​(int idx)
        Get object
        参数:
        idx - The flat index
        返回:
        The object
      • setObject

        public void setObject​(int idx,
                              java.lang.Object value)
        Set object
        参数:
        idx - The flat index
        value - The object
      • section

        public Array section​(int first,
                             int last,
                             int stride)
        Get section array
        参数:
        first - The first index
        last - The last index
        stride - The stride
        返回:
        Array
      • section

        public Array section​(java.util.List<java.lang.Integer> idx)
        Set section array
        参数:
        idx - Index list
        返回:
        Section array
      • setSection

        public void setSection​(int first,
                               int last,
                               int stride,
                               java.lang.Object value)
        Set section array
        参数:
        first - The first index
        last - The last index
        stride - The stride
        value - The value
      • setSection

        public void setSection​(int first,
                               int last,
                               int stride,
                               Array value)
        Set section array
        参数:
        first - The first index
        last - The last index
        stride - The stride
        value - The value array
      • setSection

        public void setSection​(java.util.List<java.lang.Integer> idx,
                               java.lang.Object value)
        Set section
        参数:
        idx - Index list
        value - Value
      • setSection

        public void setSection​(java.util.List<java.lang.Integer> idx,
                               Array value)
        Set section
        参数:
        idx - Index list
        value - Value array