• Post Reply Bookmark Topic Watch Topic
  • New Topic

Eqality of elements in arraylist  RSS feed

 
Ranch Hand
Posts: 68
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
i have an arraylist like this



i want to check if all the elements in this list is equal or not. How can i perform this?
 
Author and ninkuma
Marshal
Posts: 66692
167
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Equal to what? To each other? If so, stop coding, sit back, and think of how you would determine if all of a set of objects are equal or not.
 
Nidheesh Krishna
Ranch Hand
Posts: 68
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
equal to each other
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66692
167
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Bear Bibeault wrote:If so, stop coding, sit back, and think of how you would determine if all of a set of objects are equal or not.

 
Marshal
Posts: 59166
180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also search this forum and the beginning forum because somebody else asked a very similar question (I think, yesterday).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!