net.sourceforge.jgrib.tables
Class GribPDSParameter
Object
GribPDSParameter
public final class GribPDSParameter
- extends Object
Title: JGrib Description: Class which represents a parameter from a
PDS parameter table Copyright: Copyright (c) 2002 Company: U.S. Air
Force
- Author:
- Capt Richard D. Gonzalez
Methods inherited from class Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GribPDSParameter
public GribPDSParameter()
GribPDSParameter
public GribPDSParameter(int aNum,
String aName,
String aDesc,
String aUnit)
getNumber
public int getNumber()
getName
public String getName()
getDescription
public String getDescription()
getUnit
public String getUnit()
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
compare
public int compare(GribPDSParameter param)
- rdg - added this method to be used in a comparator for sorting while
extracting records. Not currently used in the JGrib library, but is
used in a library I'm using that uses JGrib.
- Parameters:
param
- - the GribPDSParameter to compare to
- Returns:
- - -1 if level is "less than" this, 0 if equal, 1 if level is
"greater than" this.
Copyright © 2006-2010 GeoSolutions. All Rights Reserved.