I am facing one issue in which I want to map list of string from one application to unique integer but with specified range (like 0 to 99999).
Example:
"Input_str_1" should (for example) mapped to 5423 each time
"Input_str_2" should (for example) mapped to 4829 each time
Here important consideration is that for same input string I should get same number from given range each time. My input string will not be more than 1,00,000. So I have specified this range.
I am unable to get starting pointer on how to approach this problem. If any of you can help me in this direction that will be grateful.
My both application are in java.
Aucun commentaire:
Enregistrer un commentaire