KickJava   Java API By Example, From Geeks To Geeks.

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


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 import javax.measure.units.SI;
11 import javax.measure.units.Unit;
12
13 /**
14  * This interface represents the measure of the quantity of matter that a body
15  * or an object contains. The mass of the body is not dependent on gravity
16  * and therefore is different from but proportional to its weight.
17  * The system unit for this quantity is "kg" (kilogram).
18  *
19  * @author <a HREF="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
20  * @version 1.0, January 14, 2006
21  */

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

27     public final static Unit<Mass> UNIT = SI.KILOGRAM;
28
29 }
Popular Tags