Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia
Would you please stop top-posting? Please? This is a second request.
Respond in line.
Paka Small wrote:
Lew wrote:
Paka Small wrote:
Clearly a method is also a class which has method instances:
http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html
That is not correct. A method is not a class. The class 'Method' =
is a class,
but it is not a method.
Please lets retake Daniels statement "Those aren't instances, they are
called methods." (lets call this statement A). From
Statement A, as you call it, was an objection to your blatant misrepresenta=
tion
that methods are classes, and a fair one.
http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html
one gets that a method (for example getClass()) in Java is an instance
of the class Method. Lets call the latter B. A and B clearly are
No, one does not. Nowhere does it state that. 'Method' is a class used to _=
describe_ methods; it is not itself a method. A method is _described_ by th=
e type 'Method'; it is not itself a type.
contradictions. Therefore since Java is true about itself (and I can
There's nothing contradictory because your statement B is flat-out wrong.
"Java is true about itself" is a meaningless phrase - Java is defined by th=
e
Java Language Specification, which apparently you do not choose to read.
testify Java reflection exists since I wrote code using method
instances) the statement of Daniel is false.
Wrong. You used 'Method' instances, not "method instances", which _describe=
d_
but were not themselves methods. Daniel's statement was correct; yours are =
not.
I refer you again to the language specification, which you have apparently=
disregarded.
http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html
. I suggest you get updated with OO programming and Java. Its [sic] c=
alled
I suggest you be less snarky, especially when you are wrong.
Java reflection. I find it strange that in a JAVA [sic] programming g=
roup
I find it strange that you cop such a strong attitude when you're wrong=
, and
cannot even spell "Java" correctly.
you put out with such vigour your statement ("Those aren't instances,
they are called methods.") that is totally incorrect. My statement (a
No, he was totally correct.
method is also a class which has method instances) is proven by the
Oracle Java link above and backed up with 20 years of professional
No, it is not. A method is not a class. The 'Method' class is a c=
lass, but it
is not a method.
software development experience. What are the references for your
statement?
http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html
Please can you pinpoint where in this document is written that a Java
method is not an instance of the class Method. If you believe I will
try find to find a statement in a large document while as far as I
know that statement is simply not there you must be kidding. Please
prove your point and pinpoint the statement.
Your "20 years of professional software development experience" has, sa=
dly,
left you with much arrogance and zero knowledge.
In Java, as you will see from reading the Java Language Specification l=
inked
above, which is the normative reference for the language definition, me=
thods
and classes are not the same.
The above being said it is totally a good idea and in line with Java
itself (or any other OO programming language) to classify in the OO
Tumia framework a particular Java method like
java.lang.Object.getClass() as an instance of the Tumia class "Java
Method". Another Tumia Class could be for example "Dotnet Method". Do
you GRASP it?
What is a "Tumia Class [sic]"? I don't see anything good about the i=
dea you
propose.
On 25 jan, 20:23, Daniel Pitts <newsgroup.nos...@virtualinfinity.net>
wrote:
On 1/25/12 6:58 AM, Paka Small wrote:
You are kindly invited to check out the Instance
java.lang.Object.getClass() of Class Java Method on the object
oriented directoryTumia:
[redacted]
- Click some java.lang.Object.getClass() links or in the upper
toolbar:
- click the "-->"-button for the following java.lang.Object.getCl=
ass()
links or
- use theTumiaInstance combobox to select another Instance or
- use theTumiaClass combobox to select another Class or
- use the Relat. Instan. combobox to select a Related Instance.
What kind of spamming is this? Those aren't instances, they are =
called
methods. This website seems to be fairly useless and somewhat dange=
rous.