TreeMap guarantees that its elements will be sorted in ascending key order, not like HashMap
A TreeMap provides an efficient means of storing key/value pairs in sorted order, so we can get or retrieve the element very easily and quickly fastly ..... :) when compared with HashMap
A TreeMap provides an efficient means of storing key/value pairs in sorted order, so we can get or retrieve the element very easily and quickly fastly ..... :) when compared with HashMap
No comments:
Post a Comment