public class Quantity extends Object
| Constructor and Description |
|---|
Quantity() |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getAbbreviations() |
double |
getFactor() |
String |
getName() |
void |
setAbbreviations(Collection<String> abbreviations) |
void |
setFactor(double factor) |
void |
setName(String name) |
public String getName()
public void setName(String name)
name - the name to setpublic Collection<String> getAbbreviations()
public void setAbbreviations(Collection<String> abbreviations)
abbreviations - the abbreviations to setpublic double getFactor()
public void setFactor(double factor)
factor - the factor to setCopyright © 2018. All rights reserved.