question: public static Set < String > toStringSet ( TemplateSequenceModel seqModel ) throws TemplateModelException { Set < String > set = new HashSet < String > ( ) ; for ( int i = 0 ; i < seqModel . size ( ) ; i ++ ) { set . add ( getAsStringNonEscaping ( ( TemplateScalarModel ) seqModel . get ( i ) ) ) ; } return set ; }
target:  To string set. <p> WARN: bypasses auto-escaping, caller handles. (e.g. the object wrapper used to rewrap the result).