Question

I'm trying to give JScience-physics 5.0-SNAPSHOT a spin. Unfortunately I can't seem to find the entry into the code. The examples on the JScience website are all for 4.3.1; using the Amount class. From there it's pretty clear how to convert, doing maths, etc.

But there's no such a class in JScience-physics. First I thought it was a builder pattern starting from the unit instance, but no luck there either.

Does somebody in here already used this? If so, do you have an example on how to define amounts?

Was it helpful?

Solution

It seems the 5.0 API is not finished yet: No amounts yet.

http://java.net/projects/jscience/lists/users/archive/2011-07/message/5

So no way to do actual math on quantities. Pity...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top