[osmosis-dev] Tags class
Jochen Topf
jochen at remote.org
Wed Feb 4 16:06:01 GMT 2009
Currently there is a Tag class and the list of tags in an Entity is
stored in a Collection<Tag>. Would it make sense to create a Tags class?
This class could then allow methods like getTagByKey() oder hasKey().
For the moment the implementation maybe could just be a child class of
Collection<Tag>. The mentioned methods would just iterate over all tags
and do the checks. If we ever wanted to change to a hash based version
or so we can do that inside the class without bothering anybody outside.
Jochen
--
Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298
More information about the osmosis-dev
mailing list