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.🙂
ur explanation r so clear and it is easy to understand
Glad to help
Solid! this helped me so much w/ my intro to java final! thanks!
Extremely helpful and very to the point video! Thank you! Subscribed to your channel!
Thanks for the feedback, glad I could help.🙂
Finally understood😮💨.Thankyou so much sir🙏
Happy to 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😢
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 !
thank you sir!
My pleasure
thank you thats what i need
Thank uuuu soooooooooo muchhhhhhhhhhhhhhhhhhh
My pleasure
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
😄