|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | 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(java.lang.Object oo)
Tests if the argument is in this set. |
boolean |
contains(java.lang.String name)
Tests if the Variable identified by name
is in this set. |
Variable |
get(java.lang.String name)
Retrieve the variable associated with the specified name. |
Attribute |
getAttribute(java.lang.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(java.lang.String name)
name - String which identifies the desired variablepublic boolean contains(java.lang.String name)
name
is in this set.name - String which identifies the desired variabletrue if and only if this set contains
the named variable.public boolean contains(java.lang.Object oo)
oo - some Objecttrue if and only if this set contains
oopublic DimensionSet getDimensions()
public AttributeSet getAttributes()
public Attribute getAttribute(java.lang.String name)
name - the name of the attribute
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||