ucar.ma2
Class ArrayObject.D1

java.lang.Object
  extended by ucar.ma2.Array
      extended by ucar.ma2.ArrayObject
          extended by ucar.ma2.ArrayObject.D1
Enclosing class:
ArrayObject

public static class ArrayObject.D1
extends ArrayObject

Concrete implementation of Array specialized for Objects, rank 1.


Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.ma2.ArrayObject
ArrayObject.D0, ArrayObject.D1, ArrayObject.D2, ArrayObject.D3, ArrayObject.D4, ArrayObject.D5, ArrayObject.D6, ArrayObject.D7
 
Field Summary
 
Fields inherited from class ucar.ma2.ArrayObject
elementType, storage
 
Fields inherited from class ucar.ma2.Array
indexCalc, rank, unsigned
 
Constructor Summary
ArrayObject.D1(Class classType, int len0)
          Constructor for array of shape {len0}.
 
Method Summary
 Object get(int i)
          get the value.
 void set(int i, Object value)
          set the value.
 
Methods inherited from class ucar.ma2.ArrayObject
getBoolean, getBoolean, getByte, getByte, getChar, getChar, getDouble, getDouble, getElementType, getFloat, getFloat, getInt, getInt, getLong, getLong, getObject, getObject, getShort, getShort, getStorage, setBoolean, setBoolean, setByte, setByte, setChar, setChar, setDouble, setDouble, setFloat, setFloat, setInt, setInt, setLong, setLong, setObject, setObject, setShort, setShort
 
Methods inherited from class ucar.ma2.Array
arraycopy, copy, copyTo1DJavaArray, copyToNDJavaArray, factory, factory, factory, factory, factory, factory, factoryConstant, flip, get1DJavaArray, getDataAsByteBuffer, 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, toString, transpose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayObject.D1

public ArrayObject.D1(Class classType,
                      int len0)
Constructor for array of shape {len0}.

Method Detail

get

public Object get(int i)
get the value.


set

public void set(int i,
                Object value)
set the value.



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