1 9 package org.jscience.physics.quantities; 10 import org.jscience.physics.units.SI; 11 import org.jscience.physics.units.Unit; 12 13 21 public class MagneticFluxDensity extends Quantity { 22 23 26 private final static Unit<MagneticFluxDensity> UNIT = SI.TESLA; 27 28 31 private final static Factory<MagneticFluxDensity> FACTORY = new Factory<MagneticFluxDensity>( 32 UNIT) { 33 protected MagneticFluxDensity create() { 34 return new MagneticFluxDensity(); 35 } 36 }.useFor(UNIT.getBaseUnits()); 37 38 41 public final static MagneticFluxDensity ZERO = Quantity.valueOf(0, UNIT); 42 43 46 protected MagneticFluxDensity() { 47 } 48 49 54 public static void showAs(Unit unit) { 55 QuantityFormat.show(MagneticFluxDensity.class, unit); 56 } 57 58 private static final long serialVersionUID = 1L; 59 60 } 61 | Popular Tags |