net.sourceforge.jgrib
Class GribPDSParameter

Object
  extended by 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

Constructor Summary
GribPDSParameter(int aNum, String aName, String aDesc, String aUnit)
           
 
Method Summary
 int compare(GribPDSParameter param)
          rdg - added this method to be used in a comparator for sorting while extracting records.
 boolean equals(Object obj)
           
 String getDescription()
           
 String getName()
           
 int getNumber()
           
 String getUnit()
           
 String toString()
           
 
Methods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GribPDSParameter

public GribPDSParameter(int aNum,
                        String aName,
                        String aDesc,
                        String aUnit)
Method Detail

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.