I've written "wrappers" for some of the basic pike (and then some) datatypes:
Integer, Boolean, String, Float, Array, HashMap
The array helper can do array(array|mapping) and the hashmap helper can do mapping(int|float|string|mapping|array|object : int|float|string|mapping|array|object) :)
They're very basic, and not completely consistent with how pike objects of similar datatype would work, but it's much easier to link up with java when you don't have to reinvent the wheel.
Might this be useful in the Java module?
Also, I was wondering what the closest java equivalent to a multiset would be. Any thoughts?
Bill
On Thu, 4 Sep 2003, Martin Nilsson (ja till euro, nej till cent) @ Pike (-) developers forum wrote:
But just because Java is less than comfy to program in doesn't mean that the Pike interface for Java must be too.
/ Martin Nilsson (ja till euro, nej till cent)
Previous text:
2003-09-04 22:50: Subject: Re: arrays in Java
Well it is quite consistent to java. You specified Integer which is an object. In java you can't do 'Integer foo = 10' either but rather 'Integer foo = new Integer(10)'.
/ David Hedbor