Groovy Type Specification - TreeSet


​def names ["John","Paul","George","Ringo","Paul"as TreeSet
println names.class
println names


Output of Script

 289 ms

class java.util.TreeSet
[George, John, Paul, Ringo]

Comments

Popular posts from this blog

தீபம் பிளக்ஸ்

காது புடி வாத்தியார்

PCF - Cloud Foundry Overview - Starting, Restarting and Restaging applications