2 ms·
The snippet of code you used was written by Joshua Bloch (author of Effective Java and a then employee of Sun). When Joshua was working for Google he implemente
by bitmapbrother 11y ago
The snippet of code you used was written by Joshua Bloch (author of Effective Java and a then employee of Sun). When Joshua was working for Google he implemented the rangeCheck method for Android from scratch, but since he was the original author for the Sun Java implementation he naturally did it the same way.