My Question is related to the behavior of NavigableMap . cause
if you check the output then you will notice that even when i polled first entry of the map it gave me invalid value,but the key was totally correct.
Can anybody puts some knowledge on this and try to explain me as to why this behavior and gave me the second entry value when i polled first entry in this case. And there is a null return in case of a simple get.
No, I think the output you posted is correct. Can you explain why you expect what you said? After re-reading the API documentation for the method, that is? In particular the first word of the description of the method?