I am looking for a data structure that operates similar to a hash table, but where the table has a size limit. When the number of items in the hash ...
What I need is something like Hashtable which I will fill with prices that were actual at desired days.
For example: I will put two prices: January 1st: 100USD, ...
The structure of my project is like that: I have a class WordPair { String sourceWord,TargetWord; } And I have a datastructure Hashtable in main module like: HashTable translationProbability; which include the objects of the WordPair as keys and the probability of these pairs as a values. The problem is appeared while retrieving the value of the particular object(wordpair) from the ...