Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

print treeset java

TreeSet<Integer> treeset = new TreeSet<Integer>();
treeset.add(1);
treeset.add(5);
treeset.add(7);
treeset.add(8);

treeset.forEach( element -> {
    System.out.println(element);
});
 
PREVIOUS NEXT
Tagged: #print #treeset #java
ADD COMMENT
Topic
Name
4+8 =