Closed GoogleCodeExporter closed 9 years ago
"seem appropriate" is not a strong enough argument to add a method to Guava.
I realize this computation is error-prone, but that's why we have, well,
error-prone (http://error-prone.googlecode.com). Also we've found that isEven
checks don't happen that often outside tests, and often are only used with
positive numbers anyway.
Original comment by kevinb@google.com
on 14 Dec 2012 at 5:02
What about isPowerOfTwo() then?
Original comment by alex.kar...@gmail.com
on 14 Dec 2012 at 5:06
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:13
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:08
Original issue reported on code.google.com by
alex.kar...@gmail.com
on 14 Dec 2012 at 3:58