SortedSet in Java | Java Collections | Collection Framework| Java Tutorial For Beginners

Published: 07 July 2022
on channel: Krishna Sakinala (Automation Testing)
473
1

Please use the following link to install the Katalon Studio:

https://katalon.com/sign-up?getr=kris... Check Tubebuddy Features Here:
https://www.tubebuddy.com/krishnasaki... SortedSet:

SortedSet is child interface of Set.
If we want to represent a group of individual objects without duplicates and all objects will be inserted according to some Sorting Order, then we should go for SortedSet.
The sorting order can be either Default Natural Sorting or Customized Sorting Order.
Alphabetical order is the Default Natural Sorting order for String objects.
Ascending order is the Default Natural Sorting order for Numbers.
Object first(): Returns first element.
Object last(): Returns last element.
SortedSet headSet(Object o): Returns SortedSet whose elements are lessthan specified object .
SortedSet tailSet(Object o): Returns SortedSet whose elements are greaterthan or = specified object .
SortedSet subSet(Object o1, Object o2): Returns SortedSet whose elements are greaterthan or = specified object1 and lessthan specified object 2.
Comparator comparator():
Returns Comparator object that describes underlying Sorting technique.
It will return null if we use Default Natural Sorting order.

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 :   / automationtesting2016  
LinkedIn : https://www.linkedin.com/feed/?trk=hb...
Google+ : https://plus.google.com/1052863009260...
Twitter :   / krishnasakinala  
Website : http://automationtesting.in/


On this page of the site you can watch the video online SortedSet in Java | Java Collections | Collection Framework| Java Tutorial For Beginners with a duration of hours minute second in good quality, which was uploaded by the user Krishna Sakinala (Automation Testing) 07 July 2022, share the link with friends and acquaintances, this video has already been watched 473 times on youtube and it was liked by 1 viewers. Enjoy your viewing!