org.opensha.sha.cybershake.db
Class CybershakeIM

java.lang.Object
  extended by org.opensha.sha.cybershake.db.CybershakeIM
All Implemented Interfaces:
Comparable<CybershakeIM>

public class CybershakeIM
extends Object
implements Comparable<CybershakeIM>


Constructor Summary
CybershakeIM(int id, String measure, double val, String units)
           
 
Method Summary
 int compareTo(CybershakeIM im)
           
 boolean equals(Object im)
           
 int getID()
           
 String getMeasure()
           
 String getUnits()
           
 double getVal()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CybershakeIM

public CybershakeIM(int id,
                    String measure,
                    double val,
                    String units)
Method Detail

getID

public int getID()

getMeasure

public String getMeasure()

getVal

public double getVal()

getUnits

public String getUnits()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object im)
Overrides:
equals in class Object

compareTo

public int compareTo(CybershakeIM im)
Specified by:
compareTo in interface Comparable<CybershakeIM>