J
john
I need to use a class that is a collection of objects where I can do a
comparing operation like this:
col = new FastCollectionClass();
bool b = col.IsThisItemAlreadyInTheCollection(obj);
Where the function to see if an object is already in the collection is
fast. I was thinking of using a HashTable even though I don't need to
use the "key" part of the dictionary since I know HashTables are
designed for fast lookup. Any ideas of better classes to use?
thanks in advance,
John
comparing operation like this:
col = new FastCollectionClass();
bool b = col.IsThisItemAlreadyInTheCollection(obj);
Where the function to see if an object is already in the collection is
fast. I was thinking of using a HashTable even though I don't need to
use the "key" part of the dictionary since I know HashTables are
designed for fast lookup. Any ideas of better classes to use?
thanks in advance,
John