|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.data.netcdf.out.TrivialAccessor
The TrivialAccessor class terminates the linked-list of DataAccessors at the outermost, VisAD data object.
| Constructor Summary | |
protected |
TrivialAccessor(Data data)
Construct from a VisAD data object. |
| Method Summary | |
Object |
get(int[] indexes)
Return a datum given its location as netCDF indexes. |
Dimension[] |
getDimensions()
Return the netCDF dimensions at the level of the data object. |
int[] |
getLengths()
Return the netCDF dimensional lengths. |
int |
getRank()
Return the number of netCDF dimensions at the current level. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected TrivialAccessor(Data data)
data - The outermost VisAD data object.| Method Detail |
public int getRank()
getRank in interface VisADAccessorpublic Dimension[] getDimensions()
getDimensions in interface VisADAccessorpublic int[] getLengths()
getLengths in interface VisADAccessor
public Object get(int[] indexes)
throws IOException
get in interface VisADAccessorlocalIndexes and
outerIndexes.
IOException - Data access I/O failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||