but it is not only for java, nice for scala as well when implicits not wanted.
I included both methods in the test I wrote.