Groovy Type Specification - Set

def names = ["John","Paul","George","Ringo"] as Set 
println names.class​





Output of Script

 310 ms
class java.util.LinkedHashSet

Comments

Popular posts from this blog

Array and Object Creation - JavaScript

Groovy Tuples

அவன் ஏன் கூலியானான்?