public static Set < String > getSet ( AbstractConfig config , String key ) { List < String > value = config . getList ( key ) ; return ImmutableSet . copyOf ( value ) ; }
Method is used to retrieve a list and convert it to an immutable set .