hello all,
Can anyone tell me how to create & use Java Maps in my C++
code...
I've used java.util.Vector, it works fine.
I work on a Sun Fire V440 machine.
regards,
gautam.
Oliver Wong - 28 Mar 2006 19:29 GMT
> hello all,
>
> Can anyone tell me how to create & use Java Maps in my C++
> code...
> I've used java.util.Vector, it works fine.
> I work on a Sun Fire V440 machine.
While Vector is a concrete class, Map is actually an interface, and so
cannot be instantiated. Perhaps you should look into java.util.HashMap or
java.util.TreeMap instead.
- Oliver