how can I implement array access for my class? for...
# announcements
d
how can I implement array access for my class? for instance I use
parameters["expiry"]
on a
HashMap<String,String>
java object. I replaced this
HashMap
with my own
Parameters
class... now what should I do? Implement the
Map
Interface ? is that how I can achieve array access for the
Parameters
class ?