| 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.unit; |
| 10 | |
| 11 | import java.util.Set; |
| 12 | |
| 13 | /** |
| 14 | * <p> This class represents a system of units, it groups units together |
| 15 | * for historical or cultural reasons. Nothing prevents a unit from |
| 16 | * belonging to several system of units at the same time |
| 17 | * (for example an imperial system would have many of the units |
| 18 | * held by {@link NonSI}).</p> |
| 19 | * |
| 20 | * @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a> |
| 21 | * @version 4.2, August 26, 2007 |
| 22 | */ |
| 23 | public abstract class SystemOfUnits { |
| 24 | |
| 25 | /** |
| 26 | * Returns a read only view over the units defined in this system. |
| 27 | * |
| 28 | * @return the collection of units. |
| 29 | */ |
| 30 | public abstract Set<Unit<?>> getUnits(); |
| 31 | |
| 32 | } |