G
Gene Wirchenko
Dear Java'ers:
I have been using ArrayList to serve as an expandable array. I
have not cared about the searching efficency since the arrays have
been small.
Now, I need symbol table processing. There will be a lot of
lookups. What class is like ArrayList in being an expandable array
but that has an order? I also want to have more than one data item
per entry. I am looking at
symbol name (which is what the array is to be sorted by)
symbol value
and possibly something else by the time I think on this further.
Symbol name and symbol value will be of type String though I would
like a general answer.
The name of the class is what I need. I assume I can find the
docs once I know what it is called.
Sincerely,
Gene Wirchenko
I have been using ArrayList to serve as an expandable array. I
have not cared about the searching efficency since the arrays have
been small.
Now, I need symbol table processing. There will be a lot of
lookups. What class is like ArrayList in being an expandable array
but that has an order? I also want to have more than one data item
per entry. I am looking at
symbol name (which is what the array is to be sorted by)
symbol value
and possibly something else by the time I think on this further.
Symbol name and symbol value will be of type String though I would
like a general answer.
The name of the class is what I need. I assume I can find the
docs once I know what it is called.
Sincerely,
Gene Wirchenko