|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.nc2.iosp.grads.GradsDimension
public class GradsDimension
Hold information about a GradDimension
| Field Summary | |
|---|---|
static String |
LEVELS
levels type mapping |
static String |
LINEAR
linear type mapping |
| Constructor Summary | |
|---|---|
GradsDimension(String name,
int size,
String mapping)
Make a new GradsDimension from the values |
|
| Method Summary | |
|---|---|
protected void |
addLevel(String level)
Add a level to the list of levels |
protected List<String> |
getLevels()
Get the levels |
String |
getName()
Get the name of this dimension |
int |
getSize()
Get the size of this dimension |
String |
getType()
Get the mapping type |
String |
getUnit()
Get the units |
double[] |
getValues()
Get the values |
protected double[] |
makeLevelValues()
Make the level values from the specifications |
protected void |
setUnit(String unit)
Set the unit |
String |
toString()
Return a String representation of this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String LINEAR
public static final String LEVELS
| Constructor Detail |
|---|
public GradsDimension(String name,
int size,
String mapping)
name - the dimension namesize - the dimension sizemapping - the dimension mapping type| Method Detail |
|---|
protected void addLevel(String level)
level - level to addprotected List<String> getLevels()
public String getName()
public int getSize()
public double[] getValues()
public String getUnit()
protected void setUnit(String unit)
unit - the unitpublic String getType()
protected double[] makeLevelValues()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||