Judge Alsup learns to code and schools Oracle
All due respect, but I think the Judge is missing the point here.  Its kind of like saying "I can carve a turkey, therefore any high-schooler could do open-heart surgery".   
Sure, its easy to check whether an integer is in a range.  But THEN what do you do?  Return 0?  Throw an exception?  How does the result of this little function combine with thousands of others to form a coherent and productive API?  Of course, as system architects, we can decompose the large, complex problem into smaller problems, and repeat the process until the sub-tasks are trivial.  But then for the Judge to look at one of the results of this process and declare the whole thing trivial is really a monumental misunderstanding of what goes into creating a world-class API.