Package ucar.nc2.ft.fmrc
Class EnsCoord
- java.lang.Object
-
- ucar.nc2.ft.fmrc.EnsCoord
-
- All Implemented Interfaces:
Comparable
public class EnsCoord extends Object implements Comparable
Represents a ensemble coordinate shared among variables- Since:
- Jan 12, 2010
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Object o)
boolean
equalsData(EnsCoord other)
static EnsCoord
findEnsCoord(List<EnsCoord> ensCoords, EnsCoord want)
int[]
getEnsTypes()
int
getId()
String
getName()
int
getNEnsembles()
int
getPDN()
int
getSize()
static void
normalize(EnsCoord result, List<EnsCoord> ecList)
Extend result with all the values in the list of EnsCoordvoid
setEnsTypes(int[] ensTypes)
void
setId(int id)
void
setName(String name)
void
setNEnsembles(int ensembles)
void
setPDN(int pdn)
-
-
-
Method Detail
-
getId
public int getId()
-
setId
public void setId(int id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getNEnsembles
public int getNEnsembles()
-
setNEnsembles
public void setNEnsembles(int ensembles)
-
getPDN
public int getPDN()
-
setPDN
public void setPDN(int pdn)
-
getEnsTypes
public int[] getEnsTypes()
-
setEnsTypes
public void setEnsTypes(int[] ensTypes)
-
getSize
public int getSize()
-
equalsData
public boolean equalsData(EnsCoord other)
-
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interfaceComparable
-
-