public class Quantity extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Quantity.Format |
class |
Quantity.QuantityAdapter |
Constructor and Description |
---|
Quantity(BigDecimal number,
Quantity.Format format) |
Quantity(String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Quantity |
fromString(String value) |
Quantity.Format |
getFormat() |
BigDecimal |
getNumber() |
String |
toString() |
String |
toSuffixedString() |
public Quantity(BigDecimal number, Quantity.Format format)
public Quantity(String value)
public BigDecimal getNumber()
public Quantity.Format getFormat()
public String toSuffixedString()
Copyright © 2018. All rights reserved.