Package gnu.lists

Interface Array<E>

    • Method Detail

      • isEmpty

        boolean isEmpty()
      • rank

        int rank()
        Get the rank (number of dimensions) of this array. The rank of a scalar is 0, of a Sequence is 1, of a matrix is 2, etc.
      • getElementKind

        int getElementKind()
      • effectiveIndex

        int effectiveIndex()
      • effectiveIndex

        int effectiveIndex​(int index)
      • effectiveIndex

        int effectiveIndex​(int i,
                           int j)
      • effectiveIndex

        int effectiveIndex​(int i,
                           int j,
                           int k,
                           int... rest)
      • effectiveIndex

        int effectiveIndex​(int[] indexes)
      • getRaw

        E getRaw​(int index)
        Given an "effective index", return element as object.
      • getBooleanRaw

        boolean getBooleanRaw​(int index)
      • getCharRaw

        char getCharRaw​(int index)
      • getByteRaw

        byte getByteRaw​(int index)
      • getShortRaw

        short getShortRaw​(int index)
      • getIntRaw

        int getIntRaw​(int index)
      • getLongRaw

        long getLongRaw​(int index)
      • getFloatRaw

        float getFloatRaw​(int index)
      • getDoubleRaw

        double getDoubleRaw​(int index)
      • setRaw

        void setRaw​(int index,
                    E value)
      • get

        E get()
      • get

        E get​(int i)
      • get

        E get​(int i,
              int j)
      • get

        E get​(int i,
              int j,
              int k,
              int... rest)
      • get

        E get​(int[] indexes)
      • set

        void set​(int[] indexes,
                 E value)
      • getInt

        int getInt()
      • getInt

        int getInt​(int arg1)
      • getInt

        int getInt​(int arg1,
                   int arg2)
      • getInt

        int getInt​(int arg1,
                   int arg2,
                   int arg3,
                   int... rest)
      • getInt

        int getInt​(int[] args)
      • getRowMajor

        E getRowMajor​(int index)
      • asImmutable

        Array<E> asImmutable()
      • getLowBound

        int getLowBound​(int dim)
        Get the least dimension along the specified dimension.
      • getSize

        int getSize​(int dim)
        Get length along specified dimension.
      • getSize

        int getSize()
        Total number of elements. Same as the product of getSize(S) for all S.