3:53 pm - Saturday March 24, 6525

LinkedHashMap example programs and Tutorial in java

Corporate Training for Experienced Candidate
Struts | Hibernate | Spring | Java / J2EE
SOAP | RestFull | Design Pattern | more...
Ph: +91 72000 69003
137b, 2nd st, shanthi nagar, Chrompet, Chennai -600044


1.Fetch all keys from a LinkedHashMap Set<K> keySet()

2.Clear all elements from LinkedHashMap void Clear()

3.Retrieve value of given Key in LinkedHashMap V get(Object key)

4Check whether a given key is available in LinkedHashMap boolean containsKey(Object key)

5.Add key value pair to LinkedHashMap V put(K key,V value)

6.Add all key value pair from another Map void putAll(Map<? extends K,? extends V> m)

7.Search for given value in LinkedHashMap boolean ContainsValue(Object value)

8.Create a copy of LinkedHashMap Object clone()

9.Remove key value pair from LinkedHashMap V remove(Object key)

10.Verify LinkedHashMap is Empty  boolean isEmpty()


Filed in: Java Examples

Comments are closed.