edu.uchicago.cs.java.lec03.statics
Class Metric

java.lang.Object
  extended by edu.uchicago.cs.java.lec03.statics.Metric

public final class Metric
extends java.lang.Object


Field Summary
static int EARTH_CIRCUMFRENCE_KM
           
static int MOON_CIRCUMFRENC_KM
           
 
Constructor Summary
private Metric()
           
 
Method Summary
static double getCelcius(double dFahrenheit)
           
static double getCubicMeters(double dCubicFeet)
           
static double getKilograms(double dPounds)
           
static double getKilometers(double dMiles)
           
static double getLiters(double dGallons)
           
static double getMeters(double dFeet)
           
static double getMillimeters(double dInches)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EARTH_CIRCUMFRENCE_KM

public static final int EARTH_CIRCUMFRENCE_KM
See Also:
Constant Field Values

MOON_CIRCUMFRENC_KM

public static final int MOON_CIRCUMFRENC_KM
See Also:
Constant Field Values
Constructor Detail

Metric

private Metric()
Method Detail

getMillimeters

public static double getMillimeters(double dInches)

getMeters

public static double getMeters(double dFeet)

getKilometers

public static double getKilometers(double dMiles)

getLiters

public static double getLiters(double dGallons)

getCubicMeters

public static double getCubicMeters(double dCubicFeet)

getKilograms

public static double getKilograms(double dPounds)

getCelcius

public static double getCelcius(double dFahrenheit)