Showing posts from March, 2014

How HashSet works internally - Internal implementation

Internal implementation of any collection (HashMap, HashSet, LinkedhashMap, etc) is common interview question for senior java developer and it is highly recommended to brush-up internal implementations of collections before going for interview.Here I …

How HashMap works internally - Internal implementation of HashMap

HashMap is one of the concrete implementation of Map(An associate array data structure). HashMap stores key/value pair in form of Entry object(An static class managed by HashMap having fields: key, value, next,hash) and associated basic operations(get…

Load More
That is All