There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Chris R Barrett wrote:That said, I would think in this situation a less than zero or greater than zero condition check would generate the same result without the Integer.signum() method call:...
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Campbell Ritchie wrote:I thought the idea was to compare whether two numbers are both negative or positive.
There are three kinds of actuaries: those who can count, and those who can't.
Campbell Ritchie wrote:I thought the idea was to compare whether two numbers are both negative or positive.
There are three kinds of actuaries: those who can count, and those who can't.
sai rama krishna wrote: what is the difference of these two approaches.
I beg your pardon!!Chris R Barrett wrote:...http://i.imgur.com/7hXHLHZ.gif ...
Piet Souris wrote:And I challenge Campbell to come up with a stream and a lambda (assuming he has Java 8).
![]()
luck, db
There are no new questions, but there may be new answers.
We like any amount of humour as it is spelt with an OChris R Barrett wrote: . . .
I hope the forum mods don't mind some pre-Halloween humour.
There are three kinds of actuaries: those who can count, and those who can't.
luck, db
There are no new questions, but there may be new answers.
sai rama krishna wrote:both zeros is not a concern for me now. Thank you
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here