How can i stick together the objects and it's attributes when dealing with sorting , like sorting their names for example how can i not mess the attributes of object in my list , it's need to be intact pls help
Read the names when comparing which objects need to be sorted. But only move the object, don't move the name. Example pseudo code : if myList.get(i).name > myList.get(i+1).name swap(myList.get(i), myList.get(i+1))
Why's it always the videos with the least views that help me the most. Thank you man. This deserves a lot more than 8k views
Glad I could help.
Searched a lot, got clear explanation only here
Because wherever I search am getting normal arraylist and not with objects.
Thanks a lot
Its really all the same once you understand it, but I know this isn't obvious from the beginning. I'm glad you got it.🙂
Finally understood😮💨.Thankyou so much sir🙏
Happy to help🙂
Solid! this helped me so much w/ my intro to java final! thanks!
ur explanation r so clear and it is easy to understand
Glad to help
Extremely helpful and very to the point video! Thank you! Subscribed to your channel!
Thanks for the feedback, glad I could help.🙂
Best tutorial ever ❤❤❤
well and clearl explained
love that dbz reference . ITS OVER 9000!!!!
what are you talking about? He clearly said it was completely arbitrary.
R.I.P Akira Toriyama😢
thank you thats what i need
thank you sir!
My pleasure
Thank uuuu soooooooooo muchhhhhhhhhhhhhhhhhhh
My pleasure
How can i stick together the objects and it's attributes when dealing with sorting , like sorting their names for example how can i not mess the attributes of object in my list , it's need to be intact pls help
Read the names when comparing which objects need to be sorted. But only move the object, don't move the name.
Example pseudo code :
if myList.get(i).name > myList.get(i+1).name
swap(myList.get(i), myList.get(i+1))
@@alleyb62 bro your a savior thank you very much !
How did you get dark mode for your netbeans?
From the top menu: tools-> options-> appearance-> look and feel tab -> flatlaf dark
@@alleyb62 Cool, thank you!
First
😄