D
dterzis
Hi again...
There seems to be a consensus on either a TreeMap or a Trie, and I
would certainly prefer to use the TreeMap, since it is a standard
component and apparently speed is not an issue.
However, having a look at the J2SE 1.4.2 API documentation, I doesn't
say how I could use a TreeMap to retrieve all entries that have a
common prefix with a certain key, and this functionality is essential
for my application. Am I missing something?
Thanks,
Dimitris
There seems to be a consensus on either a TreeMap or a Trie, and I
would certainly prefer to use the TreeMap, since it is a standard
component and apparently speed is not an issue.
However, having a look at the J2SE 1.4.2 API documentation, I doesn't
say how I could use a TreeMap to retrieve all entries that have a
common prefix with a certain key, and this functionality is essential
for my application. Am I missing something?
Thanks,
Dimitris