Back to Browse

List Interface in Java | Collection Framework in Java | Java Collections|Java Tutorial for Beginners

688 views
Jun 22, 2022
7:37

Please use the following link to install the Katalon Studio: https://katalon.com/sign-up?getr=krishnaRef Check Tubebuddy Features Here: https://www.tubebuddy.com/krishnasakinala #listinterface #collectionframewrok #javacollections List: List is child interface of Collection. It is used to represent a group of individual objects as a single entity where duplicates are allowed and insertion order preserved. Duplicate objects can be differentiated using the index. So, index will play major role in List. Methods defined in List Interface: void add(int index, Object o): To add an element at a particular index. boolean addAll(int index, Collection c): To add a collection at a particular index. Object get(int index): To get an element which is at particular index. Object remove(int index): To remove an element which is at particular index. Object set(int index, Object new): To replace an element present at specified index with provided element. int indexOf(Object o): Returns the index of first occurrence of specified element. int lastIndexOf(int index, Collection c): Returns the index of last occurrence of specified element. ListIterator listIterator(): Returns a list iterator over the elements in this list. Java Tutorial For Basics - https://bit.ly/3zZw25Q Protractor with Javascript - https://bit.ly/2jZ5XkX Selenium Java Tutorial - https://bit.ly/2keM2Pb Jasmine Tutorial - https://bit.ly/2lv0m6l Java - https://bit.ly/2lylSHq TestNG Tutorial - https://bit.ly/2lTpB2d PdfUtil - https://bit.ly/2keBDTA Shutterbug - https://bit.ly/2lX6xQV Selenium Realtime Examples - https://bit.ly/2k0FqDQ Java Interview Questions - https://bit.ly/2kopsmY Katalon Studio - https://bit.ly/2lWhyln Database Testing - https://bit.ly/2ko4jcJ Fillo Excel API - https://bit.ly/2jRyWqC Ashot - https://bit.ly/2kqXk2y Extent Reports Version 3 Java - https://bit.ly/2k0FweG Robot class - https://bit.ly/2lshPfJ Sikuli - https://bit.ly/2lTq2cR Excel Read Write using Java - https://bit.ly/2lyXRj8 AutoIt - https://bit.ly/2lyIYgM Extent Reports Version 2 C# - https://bit.ly/2kqIY2d Extent Reports Version 2 Java - https://bit.ly/2k0XkGA Facebook : https://www.facebook.com/automationtesting2016/ LinkedIn : https://www.linkedin.com/feed/?trk=hb_signin Google+ : https://plus.google.com/105286300926085335367 Twitter : https://twitter.com/krishnasakinala Website : http://automationtesting.in/

Download

1 formats

Video Formats

360pmp410.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

List Interface in Java | Collection Framework in Java | Java Collections|Java Tutorial for Beginners | NatokHD