5 Seconds sound like the real thing: from http://news.ycombinator.com/item?id=3940683
From OpenJDK:
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
From Google:
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
}
For those interested: (from http://news.ycombinator.com/item?id=3940683)
From OpenJDK:
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
From Google:
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
}
I don't understand why I got tagged "offtopic"...
It's exactly what this article is all about...
But were big!! Look at us!! LOOK AT US!!
That's not how you make money. Even if I am disgusted by people with too much money, I still understand why it doesnt work like that.
Wow seriously ? Since most apple fag buy them because they are expensive they should buy them directly there...
"MAN, I paid my phone way more than you did, therefore its an even better product"
No. Microsoft just found a way to make money on open source OS.
AGAIN, valve don't have ANYTHING to say about the price publishers want to sell their games.
> handheld devices
Even if there is no alien in area 51 they still have new technology, missile and stuffs that you don't have to see.
If I don't want you to come at my house to see inside It must be because I have a trapped alien in it.
"Immediately disclose the government's knowledge of and communications with extraterrestrial beings"
What kind of moron write a petition implying he undoubtedly KNOW THAT THE US GOV. had communication with extraterrestrial beings, no one can take a moron like that seriously.
Who cares about that outage, Id buy a blackberry before a stupid iPhone anytime, you know, something working better without paying extra money for a ugly design.
Yes, for someone who's not a stupid apple hipster, its obvious. But apple fan boys don't even realize how mainstream and bad are those products, they really think they are awesome and wise customers because they love something they believe to be rare and classy because its pricey.
I tell them to turn to the study of mathematics, for it is only there that they might escape the lusts of the flesh. -- Thomas Mann, "The Magic Mountain"