Uses of Class
ucar.ma2.Index

Packages that use Index
ucar.ma2 Multidimensional arrays of primitives and objects with data stored in memory. 
 

Uses of Index in ucar.ma2
 

Subclasses of Index in ucar.ma2
 class Index0D
          Specialization of Index for rank 0 arrays.
 class Index1D
          Specialization of Index for rank 1 arrays.
 class Index2D
          Specialization of Index for rank 2 arrays.
 class Index3D
          Specialization of Index for rank 3 arrays.
 class Index4D
          Specialization of Index for rank 4 arrays.
 class Index5D
          Specialization of Index for rank 5 arrays.
 class Index6D
          Specialization of Index for rank 6 arrays.
 class Index7D
          Specialization of Index for rank 7 arrays.
 class IndexConstant
          An Index into an Array that always returns 0.
 

Methods in ucar.ma2 that return Index
static Index Index.factory(int[] shape)
          Generate a subclass of Index optimized for this array's rank
 Index Array.getIndex()
          Get an Index object used for indexed access of this Array.
 Index Array.getIndexPrivate()
          Get an Index object used for indexed access of this Array.
 Index Index.set(int v0)
          set current element at dimension 0 to v0
 Index Index1D.set(int v0)
           
 Index Index.set(int[] index)
          Set the current element's index.
 Index Index1D.set(int[] index)
           
 Index Index2D.set(int[] index)
           
 Index Index3D.set(int[] index)
           
 Index Index4D.set(int[] index)
           
 Index Index5D.set(int[] index)
           
 Index Index6D.set(int[] index)
           
 Index Index7D.set(int[] index)
           
 Index Index.set(int v0, int v1)
          set current element at dimension 0,1 to v0,v1
 Index Index2D.set(int v0, int v1)
           
 Index Index.set(int v0, int v1, int v2)
          set current element at dimension 0,1,2 to v0,v1,v2
 Index Index3D.set(int v0, int v1, int v2)
           
 Index Index.set(int v0, int v1, int v2, int v3)
          set current element at dimension 0,1,2,3 to v0,v1,v2,v3
 Index Index4D.set(int v0, int v1, int v2, int v3)
           
 Index Index.set(int v0, int v1, int v2, int v3, int v4)
          set current element at dimension 0,1,2,3,4 to v0,v1,v2,v3,v4
 Index Index5D.set(int v0, int v1, int v2, int v3, int v4)
           
 Index Index.set(int v0, int v1, int v2, int v3, int v4, int v5)
          set current element at dimension 0,1,2,3,4,5 to v0,v1,v2,v3,v4,v5
 Index Index6D.set(int v0, int v1, int v2, int v3, int v4, int v5)
           
 Index Index.set(int v0, int v1, int v2, int v3, int v4, int v5, int v6)
          set current element at dimension 0,1,2,3,4,5,6 to v0,v1,v2,v3,v4,v5,v6
 Index Index7D.set(int v0, int v1, int v2, int v3, int v4, int v5, int v6)
           
 Index Index.set0(int v)
          set current element at dimension 0 to v
 Index Index1D.set0(int v)
           
 Index Index2D.set0(int v)
           
 Index Index3D.set0(int v)
           
 Index Index4D.set0(int v)
           
 Index Index5D.set0(int v)
           
 Index Index6D.set0(int v)
           
 Index Index7D.set0(int v)
           
 Index Index.set1(int v)
          set current element at dimension 1 to v
 Index Index2D.set1(int v)
           
 Index Index3D.set1(int v)
           
 Index Index4D.set1(int v)
           
 Index Index5D.set1(int v)
           
 Index Index6D.set1(int v)
           
 Index Index7D.set1(int v)
           
 Index Index.set2(int v)
          set current element at dimension 2 to v
 Index Index3D.set2(int v)
           
 Index Index4D.set2(int v)
           
 Index Index5D.set2(int v)
           
 Index Index6D.set2(int v)
           
 Index Index7D.set2(int v)
           
 Index Index.set3(int v)
          set current element at dimension 3 to v
 Index Index4D.set3(int v)
           
 Index Index5D.set3(int v)
           
 Index Index6D.set3(int v)
           
 Index Index7D.set3(int v)
           
 Index Index.set4(int v)
          set current element at dimension 4 to v
 Index Index5D.set4(int v)
           
 Index Index6D.set4(int v)
           
 Index Index7D.set4(int v)
           
 Index Index.set5(int v)
          set current element at dimension 5 to v
 Index Index6D.set5(int v)
           
 Index Index7D.set5(int v)
           
 Index Index.set6(int v)
          set current element at dimension 6 to v
 Index Index7D.set6(int v)
           
 

Methods in ucar.ma2 with parameters of type Index
 Array ArrayRagged.createView(Index index)
          DO NOT USE, throws UnsupportedOperationException
 Array ArrayStructure.createView(Index index)
          DO NOT USE, throws UnsupportedOperationException
 boolean ArrayBoolean.get(Index i)
          get the value at the specified index.
 byte ArrayByte.get(Index i)
          get the value at the specified index.
 char ArrayChar.get(Index i)
          get the value at the specified index.
 double ArrayDouble.get(Index i)
          get the value at the specified index.
 float ArrayFloat.get(Index i)
          get the value at the specified index.
 int ArrayInt.get(Index i)
          Get the value at the specified index.
 long ArrayLong.get(Index i)
          get the value at the specified index.
 short ArrayShort.get(Index i)
          Get the value at the specified index.
abstract  boolean Array.getBoolean(Index ima)
          Get the array element at the current element of ima, as a boolean.
 boolean ArrayBoolean.getBoolean(Index i)
           
 boolean ArrayByte.getBoolean(Index i)
          not legal, throw ForbiddenConversionException
 boolean ArrayChar.getBoolean(Index i)
          not legal, throw ForbiddenConversionException
 boolean ArrayDouble.getBoolean(Index i)
          not legal, throw ForbiddenConversionException
 boolean ArrayFloat.getBoolean(Index i)
          not legal, throw ForbiddenConversionException
 boolean ArrayInt.getBoolean(Index i)
          not legal, throw ForbiddenConversionException
 boolean ArrayLong.getBoolean(Index i)
          not legal, throw ForbiddenConversionException
 boolean ArrayObject.getBoolean(Index i)
          not legal, throw ForbiddenConversionException
 boolean ArrayRagged.getBoolean(Index i)
          DO NOT USE, throw ForbiddenConversionException
 boolean ArrayShort.getBoolean(Index i)
          not legal, throw ForbiddenConversionException
 boolean ArrayStructure.getBoolean(Index i)
          DO NOT USE, throw ForbiddenConversionException
abstract  byte Array.getByte(Index ima)
          Get the array element at the current element of ima, as a byte.
 byte ArrayBoolean.getByte(Index i)
          not legal, throw ForbiddenConversionException
 byte ArrayByte.getByte(Index i)
           
 byte ArrayChar.getByte(Index i)
           
 byte ArrayDouble.getByte(Index i)
           
 byte ArrayFloat.getByte(Index i)
           
 byte ArrayInt.getByte(Index i)
           
 byte ArrayLong.getByte(Index i)
           
 byte ArrayObject.getByte(Index i)
          not legal, throw ForbiddenConversionException
 byte ArrayRagged.getByte(Index i)
          DO NOT USE, throw ForbiddenConversionException
 byte ArrayShort.getByte(Index i)
           
 byte ArrayStructure.getByte(Index i)
          DO NOT USE, throw ForbiddenConversionException
abstract  char Array.getChar(Index ima)
          Get the array element at the current element of ima, as a char.
 char ArrayBoolean.getChar(Index i)
          not legal, throw ForbiddenConversionException
 char ArrayByte.getChar(Index i)
           
 char ArrayChar.getChar(Index i)
           
 char ArrayDouble.getChar(Index i)
           
 char ArrayFloat.getChar(Index i)
           
 char ArrayInt.getChar(Index i)
           
 char ArrayLong.getChar(Index i)
           
 char ArrayObject.getChar(Index i)
          not legal, throw ForbiddenConversionException
 char ArrayRagged.getChar(Index i)
          DO NOT USE, throw ForbiddenConversionException
 char ArrayShort.getChar(Index i)
           
 char ArrayStructure.getChar(Index i)
          DO NOT USE, throw ForbiddenConversionException
abstract  double Array.getDouble(Index ima)
          Get the array element at the current element of ima, as a double.
 double ArrayBoolean.getDouble(Index i)
          not legal, throw ForbiddenConversionException
 double ArrayByte.getDouble(Index i)
           
 double ArrayChar.getDouble(Index i)
           
 double ArrayDouble.getDouble(Index i)
           
 double ArrayFloat.getDouble(Index i)
           
 double ArrayInt.getDouble(Index i)
           
 double ArrayLong.getDouble(Index i)
           
 double ArrayObject.getDouble(Index i)
          not legal, throw ForbiddenConversionException
 double ArrayRagged.getDouble(Index i)
          DO NOT USE, throw ForbiddenConversionException
 double ArrayShort.getDouble(Index i)
           
 double ArrayStructure.getDouble(Index i)
          DO NOT USE, throw ForbiddenConversionException
abstract  float Array.getFloat(Index ima)
          Get the array element at the current element of ima, as a float.
 float ArrayBoolean.getFloat(Index i)
          not legal, throw ForbiddenConversionException
 float ArrayByte.getFloat(Index i)
           
 float ArrayChar.getFloat(Index i)
           
 float ArrayDouble.getFloat(Index i)
           
 float ArrayFloat.getFloat(Index i)
           
 float ArrayInt.getFloat(Index i)
           
 float ArrayLong.getFloat(Index i)
           
 float ArrayObject.getFloat(Index i)
          not legal, throw ForbiddenConversionException
 float ArrayRagged.getFloat(Index i)
          DO NOT USE, throw ForbiddenConversionException
 float ArrayShort.getFloat(Index i)
           
 float ArrayStructure.getFloat(Index i)
          DO NOT USE, throw ForbiddenConversionException
abstract  int Array.getInt(Index ima)
          Get the array element at the current element of ima, as a int.
 int ArrayBoolean.getInt(Index i)
          not legal, throw ForbiddenConversionException
 int ArrayByte.getInt(Index i)
           
 int ArrayChar.getInt(Index i)
           
 int ArrayDouble.getInt(Index i)
           
 int ArrayFloat.getInt(Index i)
           
 int ArrayInt.getInt(Index i)
           
 int ArrayLong.getInt(Index i)
           
 int ArrayObject.getInt(Index i)
          not legal, throw ForbiddenConversionException
 int ArrayRagged.getInt(Index i)
          DO NOT USE, throw ForbiddenConversionException
 int ArrayShort.getInt(Index i)
           
 int ArrayStructure.getInt(Index i)
          DO NOT USE, throw ForbiddenConversionException
abstract  long Array.getLong(Index ima)
          Get the array element at the current element of ima, as a long.
 long ArrayBoolean.getLong(Index i)
          not legal, throw ForbiddenConversionException
 long ArrayByte.getLong(Index i)
           
 long ArrayChar.getLong(Index i)
           
 long ArrayDouble.getLong(Index i)
           
 long ArrayFloat.getLong(Index i)
           
 long ArrayInt.getLong(Index i)
           
 long ArrayLong.getLong(Index i)
           
 long ArrayObject.getLong(Index i)
          not legal, throw ForbiddenConversionException
 long ArrayRagged.getLong(Index i)
          DO NOT USE, throw ForbiddenConversionException
 long ArrayShort.getLong(Index i)
           
 long ArrayStructure.getLong(Index i)
          DO NOT USE, throw ForbiddenConversionException
abstract  java.lang.Object Array.getObject(Index ima)
          Get the array element at index as an Object.
 java.lang.Object ArrayBoolean.getObject(Index i)
           
 java.lang.Object ArrayByte.getObject(Index i)
           
 java.lang.Object ArrayChar.getObject(Index i)
           
 java.lang.Object ArrayDouble.getObject(Index i)
           
 java.lang.Object ArrayFloat.getObject(Index i)
           
 java.lang.Object ArrayInt.getObject(Index i)
           
 java.lang.Object ArrayLong.getObject(Index i)
           
 java.lang.Object ArrayObject.getObject(Index i)
           
 java.lang.Object ArrayRagged.getObject(Index ima)
           
 java.lang.Object ArrayShort.getObject(Index i)
           
 java.lang.Object ArrayStructure.getObject(Index i)
          Get the index-th StructureData of this ArrayStructure.
abstract  short Array.getShort(Index ima)
          Get the array element at the current element of ima, as a short.
 short ArrayBoolean.getShort(Index i)
          not legal, throw ForbiddenConversionException
 short ArrayByte.getShort(Index i)
           
 short ArrayChar.getShort(Index i)
           
 short ArrayDouble.getShort(Index i)
           
 short ArrayFloat.getShort(Index i)
           
 short ArrayInt.getShort(Index i)
           
 short ArrayLong.getShort(Index i)
           
 short ArrayObject.getShort(Index i)
          not legal, throw ForbiddenConversionException
 short ArrayRagged.getShort(Index i)
          DO NOT USE, throw ForbiddenConversionException
 short ArrayShort.getShort(Index i)
           
 short ArrayStructure.getShort(Index i)
          DO NOT USE, throw ForbiddenConversionException
 java.lang.String ArrayChar.getString(Index ima)
          Create a String out of this ArrayChar object.
 StructureData ArrayStructure.getStructureData(Index i)
          Get the index-th StructureData of this ArrayStructure.
 void ArrayBoolean.set(Index i, boolean value)
          set the value at the sepcified index.
 void ArrayByte.set(Index i, byte value)
          set the value at the sepcified index.
 void ArrayChar.set(Index i, char value)
          set the value at the sepcified index.
 void ArrayDouble.set(Index i, double value)
          set the value at the specified index.
 void ArrayFloat.set(Index i, float value)
          set the value at the sepcified index.
 void ArrayInt.set(Index i, int value)
          Set the value at the specified index.
 void ArrayLong.set(Index i, long value)
          set the value at the sepcified index.
 void ArrayShort.set(Index i, short value)
          Set the value at the specified index.
abstract  void Array.setBoolean(Index ima, boolean value)
          Set the array element at the current element of ima.
 void ArrayBoolean.setBoolean(Index i, boolean value)
           
 void ArrayByte.setBoolean(Index i, boolean value)
          not legal, throw ForbiddenConversionException
 void ArrayChar.setBoolean(Index i, boolean value)
          not legal, throw ForbiddenConversionException
 void ArrayDouble.setBoolean(Index i, boolean value)
          not legal, throw ForbiddenConversionException
 void ArrayFloat.setBoolean(Index i, boolean value)
          not legal, throw ForbiddenConversionException
 void ArrayInt.setBoolean(Index i, boolean value)
          not legal, throw ForbiddenConversionException
 void ArrayLong.setBoolean(Index i, boolean value)
          not legal, throw ForbiddenConversionException
 void ArrayObject.setBoolean(Index i, boolean value)
          not legal, throw ForbiddenConversionException
 void ArrayRagged.setBoolean(Index i, boolean value)
          DO NOT USE, throw ForbiddenConversionException
 void ArrayShort.setBoolean(Index i, boolean value)
          not legal, throw ForbiddenConversionException
 void ArrayStructure.setBoolean(Index i, boolean value)
          DO NOT USE, throw ForbiddenConversionException
abstract  void Array.setByte(Index ima, byte value)
          Set the array element at the current element of ima.
 void ArrayBoolean.setByte(Index i, byte value)
          not legal, throw ForbiddenConversionException
 void ArrayByte.setByte(Index i, byte value)
           
 void ArrayChar.setByte(Index i, byte value)
           
 void ArrayDouble.setByte(Index i, byte value)
           
 void ArrayFloat.setByte(Index i, byte value)
           
 void ArrayInt.setByte(Index i, byte value)
           
 void ArrayLong.setByte(Index i, byte value)
           
 void ArrayObject.setByte(Index i, byte value)
          not legal, throw ForbiddenConversionException
 void ArrayRagged.setByte(Index i, byte value)
          DO NOT USE, throw ForbiddenConversionException
 void ArrayShort.setByte(Index i, byte value)
           
 void ArrayStructure.setByte(Index i, byte value)
          DO NOT USE, throw ForbiddenConversionException
abstract  void Array.setChar(Index ima, char value)
          Set the array element at the current element of ima.
 void ArrayBoolean.setChar(Index i, char value)
          not legal, throw ForbiddenConversionException
 void ArrayByte.setChar(Index i, char value)
           
 void ArrayChar.setChar(Index i, char value)
           
 void ArrayDouble.setChar(Index i, char value)
           
 void ArrayFloat.setChar(Index i, char value)
           
 void ArrayInt.setChar(Index i, char value)
           
 void ArrayLong.setChar(Index i, char value)
           
 void ArrayObject.setChar(Index i, char value)
          not legal, throw ForbiddenConversionException
 void ArrayRagged.setChar(Index i, char value)
          DO NOT USE, throw ForbiddenConversionException
 void ArrayShort.setChar(Index i, char value)
           
 void ArrayStructure.setChar(Index i, char value)
          DO NOT USE, throw ForbiddenConversionException
abstract  void Array.setDouble(Index ima, double value)
          Set the array element at the current element of ima.
 void ArrayBoolean.setDouble(Index i, double value)
          not legal, throw ForbiddenConversionException
 void ArrayByte.setDouble(Index i, double value)
           
 void ArrayChar.setDouble(Index i, double value)
           
 void ArrayDouble.setDouble(Index i, double value)
           
 void ArrayFloat.setDouble(Index i, double value)
           
 void ArrayInt.setDouble(Index i, double value)
           
 void ArrayLong.setDouble(Index i, double value)
           
 void ArrayObject.setDouble(Index i, double value)
          not legal, throw ForbiddenConversionException
 void ArrayRagged.setDouble(Index i, double value)
          DO NOT USE, throw ForbiddenConversionException
 void ArrayShort.setDouble(Index i, double value)
           
 void ArrayStructure.setDouble(Index i, double value)
          DO NOT USE, throw ForbiddenConversionException
abstract  void Array.setFloat(Index ima, float value)
          Set the array element at the current element of ima.
 void ArrayBoolean.setFloat(Index i, float value)
          not legal, throw ForbiddenConversionException
 void ArrayByte.setFloat(Index i, float value)
           
 void ArrayChar.setFloat(Index i, float value)
           
 void ArrayDouble.setFloat(Index i, float value)
           
 void ArrayFloat.setFloat(Index i, float value)
           
 void ArrayInt.setFloat(Index i, float value)
           
 void ArrayLong.setFloat(Index i, float value)
           
 void ArrayObject.setFloat(Index i, float value)
          not legal, throw ForbiddenConversionException
 void ArrayRagged.setFloat(Index i, float value)
          DO NOT USE, throw ForbiddenConversionException
 void ArrayShort.setFloat(Index i, float value)
           
 void ArrayStructure.setFloat(Index i, float value)
          DO NOT USE, throw ForbiddenConversionException
abstract  void Array.setInt(Index ima, int value)
          Set the array element at the current element of ima.
 void ArrayBoolean.setInt(Index i, int value)
          not legal, throw ForbiddenConversionException
 void ArrayByte.setInt(Index i, int value)
           
 void ArrayChar.setInt(Index i, int value)
           
 void ArrayDouble.setInt(Index i, int value)
           
 void ArrayFloat.setInt(Index i, int value)
           
 void ArrayInt.setInt(Index i, int value)
           
 void ArrayLong.setInt(Index i, int value)
           
 void ArrayObject.setInt(Index i, int value)
          not legal, throw ForbiddenConversionException
 void ArrayRagged.setInt(Index i, int value)
          DO NOT USE, throw ForbiddenConversionException
 void ArrayShort.setInt(Index i, int value)
           
 void ArrayStructure.setInt(Index i, int value)
          DO NOT USE, throw ForbiddenConversionException
abstract  void Array.setLong(Index ima, long value)
          Set the array element at the current element of ima.
 void ArrayBoolean.setLong(Index i, long value)
          not legal, throw ForbiddenConversionException
 void ArrayByte.setLong(Index i, long value)
           
 void ArrayChar.setLong(Index i, long value)
           
 void ArrayDouble.setLong(Index i, long value)
           
 void ArrayFloat.setLong(Index i, long value)
           
 void ArrayInt.setLong(Index i, long value)
           
 void ArrayLong.setLong(Index i, long value)
           
 void ArrayObject.setLong(Index i, long value)
          not legal, throw ForbiddenConversionException
 void ArrayRagged.setLong(Index i, long value)
          DO NOT USE, throw ForbiddenConversionException
 void ArrayShort.setLong(Index i, long value)
           
 void ArrayStructure.setLong(Index i, long value)
          DO NOT USE, throw ForbiddenConversionException
abstract  void Array.setObject(Index ima, java.lang.Object value)
          Set the array element at index to the specified value.
 void ArrayBoolean.setObject(Index i, java.lang.Object value)
           
 void ArrayByte.setObject(Index i, java.lang.Object value)
           
 void ArrayChar.setObject(Index i, java.lang.Object value)
           
 void ArrayDouble.setObject(Index i, java.lang.Object value)
           
 void ArrayFloat.setObject(Index i, java.lang.Object value)
           
 void ArrayInt.setObject(Index i, java.lang.Object value)
           
 void ArrayLong.setObject(Index i, java.lang.Object value)
           
 void ArrayObject.setObject(Index i, java.lang.Object value)
           
 void ArrayRagged.setObject(Index ima, java.lang.Object value)
           
 void ArrayShort.setObject(Index i, java.lang.Object value)
           
 void ArrayStructure.setObject(Index i, java.lang.Object value)
          Set one of the StructureData of this ArrayStructure.
abstract  void Array.setShort(Index ima, short value)
          Set the array element at the current element of ima.
 void ArrayBoolean.setShort(Index i, short value)
          not legal, throw ForbiddenConversionException
 void ArrayByte.setShort(Index i, short value)
           
 void ArrayChar.setShort(Index i, short value)
           
 void ArrayDouble.setShort(Index i, short value)
           
 void ArrayFloat.setShort(Index i, short value)
           
 void ArrayInt.setShort(Index i, short value)
           
 void ArrayLong.setShort(Index i, short value)
           
 void ArrayObject.setShort(Index i, short value)
          not legal, throw ForbiddenConversionException
 void ArrayRagged.setShort(Index i, short value)
          DO NOT USE, throw ForbiddenConversionException
 void ArrayShort.setShort(Index i, short value)
           
 void ArrayStructure.setShort(Index i, short value)
          DO NOT USE, throw ForbiddenConversionException
 void ArrayChar.setString(Index ima, java.lang.String val)
          Set the ArrayChar values from the characters in the String.