ucar.ma2
Class ArrayChar.D2

java.lang.Object
  extended by ucar.ma2.Array
      extended by ucar.ma2.ArrayChar
          extended by ucar.ma2.ArrayChar.D2
Enclosing class:
ArrayChar

public static class ArrayChar.D2
extends ArrayChar

Concrete implementation of Array specialized for char, rank 2.


Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.ma2.ArrayChar
ArrayChar.D0, ArrayChar.D1, ArrayChar.D2, ArrayChar.D3, ArrayChar.D4, ArrayChar.D5, ArrayChar.D6, ArrayChar.D7, ArrayChar.StringIterator
 
Field Summary
 
Fields inherited from class ucar.ma2.ArrayChar
storage
 
Fields inherited from class ucar.ma2.Array
indexCalc, rank, unsigned
 
Constructor Summary
ArrayChar.D2(int len0, int len1)
          Constructor for array of shape {len0,len1}.
 
Method Summary
 char get(int i, int j)
          get the value.
 void set(int i, int j, char value)
          set the value.
 
Methods inherited from class ucar.ma2.ArrayChar
get, getBoolean, getBoolean, getByte, getByte, getChar, getChar, getDataAsByteBuffer, getDouble, getDouble, getElementType, getFloat, getFloat, getInt, getInt, getLong, getLong, getObject, getObject, getShort, getShort, getStorage, getString, getString, getString, getStringIterator, make1DStringArray, makeFromString, makeFromStringArray, makeFromStringArray, set, setBoolean, setBoolean, setByte, setByte, setChar, setChar, setDouble, setDouble, setFloat, setFloat, setInt, setInt, setLong, setLong, setObject, setObject, setShort, setShort, setString, setString, setString, toString
 
Methods inherited from class ucar.ma2.Array
arraycopy, copy, copyTo1DJavaArray, copyToNDJavaArray, factory, factory, factory, factory, factory, factory, factoryConstant, flip, get1DJavaArray, getIndex, getIndexIterator, getIndexIteratorFast, getIndexPrivate, getRangeIterator, getRank, getShape, getSize, getSizeBytes, hasNext, isConstant, isUnsigned, makeArray, makeArray, makeArray, next, nextBoolean, nextByte, nextChar, nextDouble, nextFloat, nextInt, nextLong, nextShort, permute, reduce, reduce, resetLocalIterator, reshape, reshapeNoCopy, section, section, section, sectionNoReduce, sectionNoReduce, setUnsigned, shapeToString, slice, transpose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayChar.D2

public ArrayChar.D2(int len0,
                    int len1)
Constructor for array of shape {len0,len1}.

Method Detail

get

public char get(int i,
                int j)
get the value.


set

public void set(int i,
                int j,
                char value)
set the value.



Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.