Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://angel.cs.msu.su/projects/system/toolsdoc/netcdf_java/ucar/netcdf/UnlimitedDimension.html
Дата изменения: Tue Dec 28 20:59:06 2004 Дата индексирования: Sun Apr 10 00:17:38 2016 Кодировка: |
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ucar.netcdf.Dimension | +--ucar.netcdf.UnlimitedDimension
A Dimension object is used to contain an array length which is named for use in multiple netcdf variables. For UnlimitedDimensions, the array length value may grow. An UnlimitedDimension may appear as the most slowly varying dimension of a Variable.
This class supports construction, retrieval of the name, retrieval of the length value, and increase of the length value.
Instances are only distiguished by name. Override hashCode() and equals() to create this semantic.
Dimension
, Serialized FormFields inherited from class ucar.netcdf.Dimension |
length |
Constructor Summary | |
UnlimitedDimension(java.lang.String name)
The usual constructor defaults initial length to 0. |
Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object oo)
Instances are only distiguished by name. |
int |
hashCode()
Instances are only distiguished by name. |
int |
setLength(int newLength)
Set the length to be at least newLength Should be Package private. |
void |
toCdl(java.lang.StringBuffer buf)
Format as CDL. |
Methods inherited from class ucar.netcdf.Dimension |
getLength, getName, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UnlimitedDimension(java.lang.String name)
name
- String which is to be the
name of this UnlimitedDimensionMethod Detail |
public int hashCode()
hashCode
in class Dimension
public boolean equals(java.lang.Object oo)
equals
in class Dimension
public java.lang.Object clone()
clone
in class Dimension
public void toCdl(java.lang.StringBuffer buf)
toCdl
in class Dimension
buf
- StringBuffer into which to writepublic int setLength(int newLength)
newLength
- int which is the minimum new length
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |