public class QuantityValueImpl extends Object implements QuantityValue
QuantityValue.| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ValueVisitor<T> valueVisitor)
Accept a ValueVisitor and return its output.
|
boolean |
equals(Object obj) |
BigDecimal |
getLowerBound()
Get the upper bound for the numeric value of this quantity.
|
BigDecimal |
getNumericValue()
Get the main numeric value of this quantity.
|
BigDecimal |
getUpperBound()
Get the upper bound for the numeric value of this quantity.
|
int |
hashCode() |
String |
toString() |
public BigDecimal getNumericValue()
QuantityValuegetNumericValue in interface QuantityValuepublic BigDecimal getLowerBound()
QuantityValuegetLowerBound in interface QuantityValuepublic BigDecimal getUpperBound()
QuantityValuegetUpperBound in interface QuantityValuepublic <T> T accept(ValueVisitor<T> valueVisitor)
ValueCopyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage