Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

declare generic set java

Set<String> set = new HashSet<String>;
    
Iterator<String> iterator = set.iterator();

while(iterator.hasNext()){
  String aString = iterator.next();
}
Source by tutorials.jenkov.com #
 
PREVIOUS NEXT
Tagged: #declare #generic #set #java
ADD COMMENT
Topic
Name
9+9 =