In the API docs it's said that the Amount class has method valueOf.
But I don't know how to use it in.
I need to create Amount of some dimensionless quantity. Like, you know, 5 apples.
Amount.valueOf(100, new Unit<Dimensionless>()
In the API docs it's said that the Amount class has method valueOf.
But I don't know how to use it in.
I need to create Amount of some dimensionless quantity. Like, you know, 5 apples.
Amount.valueOf(100, new Unit<Dimensionless>()