|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is the interface for Netcdf objects. A Netcdf is seen as a set of Variables, the DimensionSet which is the union of the Dimensions used by the Variables, and any global Attributes. The Variable interface has data i/o (get/set) functionality.
This set, the associated DimensionSet and AttributeSet are immutable.
The portions of this interface which do not have to do with i/o capable Variables are available in Schema.
Variable,
DimensionSet,
AttributeSet,
Schema,
Collection| Method Summary | |
boolean |
contains(Object oo)
Tests if the argument is in this set. |
boolean |
contains(String name)
Tests if the Variable identified by name
is in this set. |
Variable |
get(String name)
Retrieve the variable associated with the specified name. |
Attribute |
getAttribute(String name)
Convenience function; look up global Attribute by name. |
AttributeSet |
getAttributes()
Returns the set of attributes associated with this, also know as the "global" attributes. |
DimensionSet |
getDimensions()
Returns the set of dimensions associated with this, the union of those used by each of the variables. |
VariableIterator |
iterator()
Returns VariableIterator for the elements. |
int |
size()
Returns the number of variables |
| Method Detail |
public int size()
public VariableIterator iterator()
VariableIteratorpublic Variable get(String name)
name - String which identifies the desired variable
public boolean contains(String name)
name
is in this set.
name - String which identifies the desired variable
true if and only if this set contains
the named variable.public boolean contains(Object oo)
oo - some Object
true if and only if this set contains
oopublic DimensionSet getDimensions()
public AttributeSet getAttributes()
public Attribute getAttribute(String name)
name - the name of the attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||