[JAVA] Performance improvements in Cell.getStats()

- Code is uglier, but multi-threaded performance
is twice as fast.
- However, repeatability is lost...