KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > info > monitorenter > util > units > IUnitSystem


1 /*
2  * UnitSystem.java, base for unit systems.
3  * Copyright (C) Achim Westermann, created on 12.05.2005, 20:11:17
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18  *
19  * If you modify or optimize the code in a useful way please let me know.
20  * Achim.Westermann@gmx.de
21  *
22  */

23 package info.monitorenter.util.units;
24
25 /**
26  * A system of units ordered by their natural ascending order.
27  * <p>
28  *
29  * @see info.monitorenter.util.units.AUnit
30  *
31  * @see info.monitorenter.util.units.UnitFactory
32  *
33  * @see info.monitorenter.util.units.UnitSystemSI
34  *
35  * @author <a HREF='mailto:Achim.Westermann@gmx.de'>Achim Westermann </a>
36  *
37  * @version $Revision: 1.1 $
38  */

39 public interface IUnitSystem {
40   /**
41    * Returns the different {@link AUnit} classes in the correct order.
42    * <p>
43    *
44    * @return the different {@link AUnit} classes in the correct order.
45    */

46   public abstract Class JavaDoc[] getUnits();
47 }
48
Popular Tags