Re: A way of passing functions as arguments in Java?
- From: "Malcolm" <regniztar@xxxxxxxxxxxxxx>
- Date: Mon, 20 Nov 2006 22:41:42 -0000
"yeldarb" <paulobrad@xxxxxxxxx> wrote in message
I'm aware that Java doesn't allow functions to be passed as argumentsInterface.
but I was wondering if anyone had any ideas of code that could be
written to meet a similar aim for a package in Java.
Our super big prime factorisation program works on numerical types which
implement the interface arithmetic, giving multiply, add, subtract, and
divide methods.
There is no need for function pointers.
--
www.personal.leeds.ac.uk/~bgy1mm
freeware games to download.
.
- References:
- A way of passing functions as arguments in Java?
- From: yeldarb
- A way of passing functions as arguments in Java?
- Prev by Date: Re: Algoritim - Create Unique Integer from String
- Next by Date: Re: A way of passing functions as arguments in Java?
- Previous by thread: Re: A way of passing functions as arguments in Java?
- Next by thread: Re: A way of passing functions as arguments in Java?
- Index(es):
Relevant Pages
|