The '>' is a symbol that is treated as the greater-than operator in java.
I
wouldn't call it an api: I think it's closer in concept to a keyword than a
method.
But, really, it's an operator. Now operators generally have a singular
meaning,
except for + which adds
numbers and appends strings (under the hood,
a StringBuilder is instantiated
and the + invokes append()) and - which is a
numeric complement and
subtraction.
I know what Oracle has said has
changed. But this week, they've been onto
this assertion "In creating its
language, and for commercial gain, Google copied
substantial portions of the
SSO of the java documentation and api."
This is not Oracle saying to
Google "You wrote programs in java and now
you owe us." I think int
Math.max(int) was used to demonstrate that
there are multiple ways to write the
implementing source (and Oracle's and
Google's compilers generate different and
incompatible bytecode.) I thought it
was well used today to clearly demonstrate
both sides' points. Google did not
copy code, implementations take up the
lion's share of the creative work, and
Oracle made the point that Google had to
have copied the methods of
java.lang.Math package and the classes and method
name in java.lang.* without
omission or variation in
order for programmers who
knew how to use and who have used the int
max(int) function in their java
programs to confidently take their unmodified
source and
compile to
Android/dalvik. [ Reply to This | Parent | # ]
|