I tried to learn and understand from the work of HashMap. So I created this hash map to store certain values ββwhich when displayed using Iterator give me outputs like
1=2 2=3 3=4
etc. I get this output using the Iterator.next()
function. Now, what is my actual doubt that since the type of this value is returned to the Iterator Object, if I need to extract only the values ββof the right side of the above equalities, is there any function for this? Something like a substring. Is there any way to get results like
2 3 4
Any help would be appreciated. thanks in advance.
source share