[1956] in java-interest
Re: method/fn ptrs?
daemon@ATHENA.MIT.EDU (Jonathan Payne)
Wed Sep 20 15:08:04 1995
Date: Wed, 20 Sep 1995 09:09:20 -0700
From: jpayne@starwave.com (Jonathan Payne)
To: java-interest@java.Eng.Sun.COM
In-Reply-To: <9509201426.AA27843@cfdev1.lehman.com> (fgreco@lehman.com)
> Date: Wed, 20 Sep 95 10:26:05 EDT
> From: fgreco@lehman.com (Frank Greco)
> Sender: owner-java-interest@java.sun.com
> Precedence: bulk
> X-Info: To unsubscribe, send 'unsubscribe' to java-interest-request@java.sun.com
> Content-Type: text
> Content-Length: 306
>
>
> Ok... how does one do the equivalent of fn-ptrs in Java?
>
> I need to save an array of ptrs-to-methods, or whatever
> the equivalent is.... am I thinking C-ish too much here?
>
> Thanks,
>
> Frank G.
There's no way to do it, and I consider that one of the biggest
short-comings of Java.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com