Earlier quoted context omitted.
Why have you chosen to mingle the verbatim copying of function implementations (range check) with the API definition copying? You say google "admitted it" which is a loaded term and you use that to say "This isn't a cleanroom implementation". Google conceded the direct copying of one function implementation and thought it not relevant - IIRC the jury awarded Oracle $1 for that. The rest of the function implementation…
I didn't choose to mingle those things. That's just plain what the facts are. I get that you don't like them, but that's tough beans. The case goes into discussing this directly, indicating that Google's cleanroom efforts give it evidence that it proceeded in good faith, but good faith alone does not intrinsically absolve you of admitted copying (which is an infringement) that's found elsewhere. Now if you did an ACT…
There are two things in play here and they are NOT the same. The one the whole world cares about is weather APIs are copyrightable. Weather Google is guilty of copying part of Oracles implementation of the code behind the API is not relevant to API copyrightability. If you can't see the distinction you don't understand software or the real core of the case and should stop trolling. If you do see the distinction, why do you keep insisting on conflating the two?