BaseUnit.java

Go to the documentation of this file.
00001 package cedar.hepdata.util;
00002 
00027 public enum BaseUnit {
00028     EV     ("eV"),
00029     BARN   ("b"),
00030     METRE  ("m"),
00031     SECOND ("s"),
00032     CLIGHT ("c"),
00033     NUMBER ("num"),
00034     RADIAN ("rad"),
00035     DEGREE ("deg");
00036     //    STERADIAN ("sr");
00037     private final String name;
00038     BaseUnit(String name) { this.name = name; }
00039     public String toString() { return name; }
00040     public String toHtmlString() { return toString(); }
00041 }

Generated on Tue Apr 21 15:54:54 2009 for HepData common classes by  doxygen 1.5.5