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


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

Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO.

From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO.
Date 2012-02-07 10:59 -0800
Organization http://groups.google.com
Message-ID <10931492.108.1328641178886.JavaMail.geo-discussion-forums@pbcpj6> (permalink)
References <7747b7da-e579-4514-bdff-a9eb8842cc51@l16g2000vbl.googlegroups.com> <W5adnb3rBYoCIK3SnZ2dnUVZ_vKdnZ2d@earthlink.com> <7048daa8-8341-4136-94e5-f51c4a54f253@dn8g2000vbb.googlegroups.com>

Show all headers | View raw


On Tuesday, February 7, 2012 2:41:03 AM UTC-8, Paul Cager wrote:
> On Feb 7, 5:58 am, Patricia Shanahan 
>  wrote:
> > On 2/5/2012 8:56 AM, Paka Small wrote:
> ...
> > > Poll: Is a Java Method an Instance of the Java Class
> > > java.lang.reflect.Method?
> >
> > Historically, JDK 1.0 had methods, but not java.lang.reflect. If methods
> > were instances of java.lang.reflect.Method they could not have existed
> > before the class existed.
> 
> Much as I agree with your conclusion, I'm not sure about your logic
> there. You could say that JDK  1.0 had java.util.Hashtable but not
> java.util.Map; therefore Hashtable cannot implement Map.

That is a red herring. Patricia said that the existence of methods as objects 
would have had to predate the existence of 'Method', not that they couldn't 
have been retrofitted (although really they can't be - another difference from 
your analogy). Patricia's logic is flawless.

-- 
Lew

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


Thread

Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Paka Small <paka-en@tumia.org> - 2012-02-05 08:56 -0800
  Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Lew <lewbloch@gmail.com> - 2012-02-05 11:38 -0800
    Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Paka Small <paka-en@tumia.org> - 2012-02-05 14:53 -0800
      Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Lew <lewbloch@gmail.com> - 2012-02-06 01:55 -0800
        Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Paka Small <paka-en@tumia.org> - 2012-02-06 11:57 -0800
          Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Lew <lewbloch@gmail.com> - 2012-02-06 17:14 -0800
          Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-02-07 09:52 -0800
  Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Joshua Cranmer <Pidgeot18@verizon.invalid> - 2012-02-06 23:54 -0600
  Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Patricia Shanahan <pats@acm.org> - 2012-02-06 21:58 -0800
    Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Paul Cager <paul.cager@googlemail.com> - 2012-02-07 02:41 -0800
      Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Patricia Shanahan <pats@acm.org> - 2012-02-07 09:35 -0800
      Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Lew <lewbloch@gmail.com> - 2012-02-07 10:59 -0800
  Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Leif Roar Moldskred <leifm@dimnakorr.com> - 2012-02-07 01:09 -0600
  Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Paul Cager <paul.cager@googlemail.com> - 2012-02-07 03:01 -0800
  Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Mayeul <mayeul.marguet@free.fr> - 2012-02-07 12:13 +0100
  Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Lew <lewbloch@gmail.com> - 2012-02-07 11:04 -0800
  Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Wanja Gayk <brixomatic@yahoo.com> - 2012-02-08 16:05 +0100

csiph-web