Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

class list contains class java

List<Card> hand = ...;
for(Card card : hand){
  if (card instanceof AceOfDiamonds) return true;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #class #list #class #java
ADD COMMENT
Topic
Name
1+9 =