8:07 am - Sunday August 20, 2017

LinkedList example programs and Tutorial in java

CANDID INDUSTRIAL TRAINING -- CHENNAI
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

BACK

1.Get size of LinkedList using  int size()

2.check whether  LinkedList is empty using boolean isEmpty()

3.check whether  LinkedList is empty using Another way boolean isEmpty()

4.check whether a value is present in LinkedList boolean contains(Object value)

5.check whether all  values are present in LinkedList boolean containsAll(Object value)

6.Add elements to LinkedList using boolean add(E e)

7.Add elements to LinkedList using boolean addall(E e)

8.Remove a data from LinkedList by its key V remove(Object key)

9.Remove a Specific Indexed Element from LinkedList by its key V remove(Object key)

10. Clear elements from LinkedList using void clear()

11.LinkedList  remove head elements to output using Poll() method

12.LinkedList to add element on output using Push() method

13.LinkedList  to Print First element on the Output using Peek() method

14.LinkedList  to add element on output Offer() method

15.LinkedList  to Remove last element on output using RemoveLast() method

16 Program for creating binary search list of data find max values using

max(Collection<? extends T> coll, Comparator<? super T> comp)

 

BACK

Filed in: Z-A All Java Codes

Comments are closed.