KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > measure > quantities > VolumetricDensity


1 /*
2  * JScience - Java(TM) Tools and Libraries for the Advancement of Sciences.
3  * Copyright (C) 2006 - JScience (http://jscience.org/)
4  * All rights reserved.
5  *
6  * Permission to use, copy, modify, and distribute this software is
7  * freely granted, provided that this notice is preserved.
8  */

9 package javax.measure.quantities;
10
11 import javax.measure.units.ProductUnit;
12 import javax.measure.units.SI;
13 import javax.measure.units.Unit;
14
15 /**
16  * This interface represents a mass per unit volume of a substance under
17  * specified conditions of pressure and temperature. The system unit for
18  * this quantity is "kg/m³" (kilogram per cubic meter).
19  *
20  * @author <a HREF="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
21  * @version 1.0, January 14, 2006
22  */

23 public interface VolumetricDensity extends Quantity<VolumetricDensity> {
24
25     /**
26      * Holds the SI unit (Système International d'Unités) for this quantity.
27      */

28     public final static Unit<VolumetricDensity> UNIT = new ProductUnit<VolumetricDensity>(
29             SI.KILOGRAM.divide(SI.METER.pow(3)));
30 }
Popular Tags