1 9 package org.jscience.physics.quantities; 10 import org.jscience.physics.units.SI; 11 import org.jscience.physics.units.Unit; 12 13 20 public class AngularVelocity extends Quantity { 21 22 25 private final static Unit<AngularVelocity> UNIT = SI.RADIAN.divide(SI.SECOND); 26 27 30 private final static Factory<AngularVelocity> FACTORY = new Factory<AngularVelocity>( 31 UNIT) { 32 protected AngularVelocity create() { 33 return new AngularVelocity(); 34 } 35 }; 36 37 40 public final static AngularVelocity ZERO = Quantity.valueOf(0, UNIT); 41 42 45 protected AngularVelocity() { 46 } 47 48 53 public static void showAs(Unit unit) { 54 QuantityFormat.show(AngularVelocity.class, unit); 55 } 56 57 private static final long serialVersionUID = 1L; 58 59 } 60 | Popular Tags |