DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
check if all values are same in list java
boolean allEqual = list.stream().distinct().limit(2).count() <= 1
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#check
#values
#list
#java
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit