org.cts.units
Class Quantity.Factory
java.lang.Object
org.cts.units.Quantity.Factory
- Enclosing interface:
- Quantity
public static class Quantity.Factory
- extends Object
A factory to easily create
Quantities from simple Strings.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Quantity.Factory
public Quantity.Factory()
create
public static Quantity create(String name)
- Creates a new Quantity from a String.
- Parameters:
name - the name of the Quantity to be created
- Returns:
- a new Quantity object
Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.