Package com.squarespace.cldrengine.api
Class Quantity
- java.lang.Object
-
- com.squarespace.cldrengine.api.Quantity
-
public class Quantity extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
_merge(Quantity o)
protected void
_mergeIf(Quantity o)
protected void
_tostring(java.lang.StringBuilder buf)
static Quantity
build()
Quantity
copy()
Quantity
merge(Quantity... args)
Quantity
mergeIf(Quantity... args)
Quantity
per(Option<UnitType> arg)
Quantity
per(UnitType arg)
Quantity
times(Option<UnitType> arg)
Quantity
times(UnitType arg)
java.lang.String
toString()
Quantity
unit(Option<UnitType> arg)
Quantity
unit(UnitType arg)
Quantity
value(Decimal arg)
Quantity
value(Option<Decimal> arg)
-
-
-
Constructor Detail
-
Quantity
public Quantity()
-
Quantity
public Quantity(Quantity arg)
-
-
Method Detail
-
build
public static Quantity build()
-
copy
public Quantity copy()
-
_mergeIf
protected void _mergeIf(Quantity o)
-
_merge
protected void _merge(Quantity o)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
_tostring
protected void _tostring(java.lang.StringBuilder buf)
-
-