Java: Read CSV & Sort with TreeSet π
Learn how to read a CSV file in Java and sort its data using TreeSet in this coding session.

Random code
3.9K views β’ Feb 19, 2021

About this video
In this video, I will be getting information from a CSV file and then sorting it with a TreeSet, to do this I input the information from the CSV file into objects which are implementing the comparable interface.
NOTE: I forgot to close the stream in this video which should always be done in my case we need:
"inputStream.close" on line 20
I hope you enjoyed this video if you did place leave a like and feel free to ask any questions in the comment section.
My channel publishes videos that focus on software programming and software engineering. If that sounds like it could be helpful for you, please join me!
Helpful links:
How to install Intellij: https://youtu.be/J26eCsSuzuM
Set, TreeSet and HashSet explained: https://youtu.be/vx0s3ENm1wI
NOTE: I forgot to close the stream in this video which should always be done in my case we need:
"inputStream.close" on line 20
I hope you enjoyed this video if you did place leave a like and feel free to ask any questions in the comment section.
My channel publishes videos that focus on software programming and software engineering. If that sounds like it could be helpful for you, please join me!
Helpful links:
How to install Intellij: https://youtu.be/J26eCsSuzuM
Set, TreeSet and HashSet explained: https://youtu.be/vx0s3ENm1wI
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
3.9K
Likes
51
Duration
12:23
Published
Feb 19, 2021
User Reviews
4.4
(3) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.