[2066] in java-interest

home help back first fref pref prev next nref lref last post

Re: method/fn ptrs?

daemon@ATHENA.MIT.EDU (Frank Greco)
Fri Sep 22 17:12:26 1995

Date: Fri, 22 Sep 95 12:27:34 EDT
From: fgreco@lehman.com (Frank Greco)
To: Sami Shaio <Sami.Shaio@Eng.Sun.COM>, java-interest@java.Eng.Sun.COM

> There is no direct equivalent in Java. What you can do is create a 
> class, for example Action, that has an execute method. You then 
> have an array of Action objects which you can call execute on.

Yeah... that I know.  Then once in an array (of refs) the penalty is
only an indirect-indirect call (object handle de-ref, then the method
de-ref), right?

Thanks Sami.

Frank
 - Was Dimension-X's JavaDay demo way cool or what...  kudos to those boys.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post