Uses of Class
ucar.ma2.Index

Packages that use Index
ucar.ma2 Multidimensional arrays of primitives and objects with data stored in memory. 
ucar.nc2 The public API to the Java-NetCDF library. 
 

Uses of Index in ucar.ma2
 

Subclasses of Index in ucar.ma2
 class Index0D
          Specialization of Index for rank 0 arrays, ie scalars.
 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 Index1D.set(int v0)
           
 Index Index.set(int v0)
          set current element at dimension 0 to v0
 Index Index7D.set(int[] index)
           
 Index Index6D.set(int[] index)
           
 Index Index5D.set(int[] index)
           
 Index Index4D.set(int[] index)
           
 Index Index3D.set(int[] index)
           
 Index Index2D.set(int[] index)
           
 Index Index1D.set(int[] index)
           
 Index Index.set(int[] index)
          Set the current element's index.
 Index Index2D.set(int v0, int v1)
           
 Index Index.set(int v0, int v1)
          set current element at dimension 0,1 to v0,v1
 Index Index3D.set(int v0, int v1, int v2)
           
 Index Index.set(int v0, int v1, int v2)
          set current element at dimension 0,1,2 to v0,v1,v2
 Index Index4D.set(int v0, int v1, int v2, int v3)
           
 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 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)
          set current element at dimension 0,1,2,3,4 to v0,v1,v2,v3,v4
 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)
          set current element at dimension 0,1,2,3,4,5 to v0,v1,v2,v3,v4,v5
 Index Index7D.set(int v0, int v1, int v2, int v3, int v4, int v5, int v6)
           
 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.set0(int v)
           
 Index Index6D.set0(int v)
           
 Index Index5D.set0(int v)
           
 Index Index4D.set0(int v)
           
 Index Index3D.set0(int v)
           
 Index Index2D.set0(int v)
           
 Index Index1D.set0(int v)
           
 Index Index.set0(int v)
          set current element at dimension 0 to v
 Index Index7D.set1(int v)
           
 Index Index6D.set1(int v)
           
 Index Index5D.set1(int v)
           
 Index Index4D.set1(int v)
           
 Index Index3D.set1(int v)
           
 Index Index2D.set1(int v)
           
 Index Index.set1(int v)
          set current element at dimension 1 to v
 Index Index7D.set2(int v)
           
 Index Index6D.set2(int v)
           
 Index Index5D.set2(int v)
           
 Index Index4D.set2(int v)
           
 Index Index3D.set2(int v)
           
 Index Index.set2(int v)
          set current element at dimension 2 to v
 Index Index7D.set3(int v)
           
 Index Index6D.set3(int v)
           
 Index Index5D.set3(int v)
           
 Index Index4D.set3(int v)
           
 Index Index.set3(int v)
          set current element at dimension 3 to v
 Index Index7D.set4(int v)
           
 Index Index6D.set4(int v)
           
 Index Index5D.set4(int v)
           
 Index Index.set4(int v)
          set current element at dimension 4 to v
 Index Index7D.set5(int v)
           
 Index Index6D.set5(int v)
           
 Index Index.set5(int v)
          set current element at dimension 5 to v
 Index Index7D.set6(int v)
           
 Index Index.set6(int v)
          set current element at dimension 6 to v
 

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

Uses of Index in ucar.nc2
 

Subclasses of Index in ucar.nc2
static class FileWriter.ChunkingIndex
          An index that computes chunk shapes.