Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #11780

Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia

From Paka Small <paka-en@tumia.org>
Newsgroups comp.lang.java.programmer
Subject Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia
Date 2012-02-05 03:13 -0800
Organization http://groups.google.com
Message-ID <0e8b5554-d19e-4a0b-9840-409d893b6ac7@1g2000yqv.googlegroups.com> (permalink)
References <9d6c9c81-3b61-4ee5-b1bb-b399e0f53dc1@s9g2000vbc.googlegroups.com> <WEYTq.6513$ep4.4896@newsfe16.iad> <572ba397-4369-4033-8fee-54b22fbd8677@k6g2000vbz.googlegroups.com> <32802338.1556.1328425716958.JavaMail.geo-discussion-forums@prhu31>

Show all headers | View raw


On 5 feb, 08:08, Lew <lewbl...@gmail.com> wrote:
> Paka Small wrote:
> > Hi Daniel,
>
> Please do not top-post. Post inline.
>
> > 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
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
contradictions. Therefore since Java is true about itself (and I can
testify Java reflection exists since I wrote code using method
instances) the statement of Daniel is false.

Kind regards, Paka

>
> > . I suggest you get updated with OO programming and Java. Its [sic] called
>
> I suggest you be less snarky, especially when you are wrong.
>
> > Java reflection. I find it strange that in a JAVA [sic] programming group
>
> 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 class, 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, sadly,
> left you with much arrogance and zero knowledge.
>
> In Java, as you will see from reading the Java Language Specification linked
> above, which is the normative reference for the language definition, methods
> 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 idea 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.getClass()
> > > > 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 dangerous.
>
> +1, Daniel
>
> --
> Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-01-25 11:23 -0800
  Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Jeff Higgins <jeff@invalid.invalid> - 2012-01-25 15:07 -0500
  Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Paka Small <paka-en@tumia.org> - 2012-02-04 08:43 -0800
    Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-02-07 08:22 -0500
  Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Paka Small <paka-en@tumia.org> - 2012-02-04 08:48 -0800
    Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Lew <lewbloch@gmail.com> - 2012-02-04 23:08 -0800
      Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Paka Small <paka-en@tumia.org> - 2012-02-05 03:13 -0800
        Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Lew <lewbloch@gmail.com> - 2012-02-05 11:45 -0800
          Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Paka Small <paka-en@tumia.org> - 2012-02-05 14:44 -0800
            Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Lew <lewbloch@gmail.com> - 2012-02-06 01:50 -0800
              Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Paka Small <paka-en@tumia.org> - 2012-02-06 12:00 -0800
                Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Lew <lewbloch@gmail.com> - 2012-02-06 17:13 -0800
                Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Paka Small <paka-en@tumia.org> - 2012-02-06 22:20 -0800
                Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Mayeul <mayeul.marguet@free.fr> - 2012-02-07 14:03 +0100
                Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Lew <lewbloch@gmail.com> - 2012-02-07 10:54 -0800
                Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Paka Small <paka-en@tumia.org> - 2012-02-07 12:38 -0800
                Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Lew <lewbloch@gmail.com> - 2012-02-07 16:42 -0800
                Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Patricia Shanahan <pats@acm.org> - 2012-02-07 12:53 -0800
                Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-02-07 13:32 -0800
        Re: Instance java.lang.Object.getClass() of Class Java Method on OO Tumia Lew <lewbloch@gmail.com> - 2012-02-05 11:51 -0800

csiph-web