DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
check if one list contains another list element
boolean var = lis1.stream().anyMatch(element -> list2.contains(element));
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#check
#list
#list
#element
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit