question: public static < T > Set < T > toSet ( T obj1 , T obj2 , T obj3 , T obj4 , T obj5 , T obj6 ) { Set < T > theSet = new LinkedHashSet < T > ( ) ; theSet . add ( obj1 ) ; theSet . add ( obj2 ) ; theSet . add ( obj3 ) ; theSet . add ( obj4 ) ; theSet . add ( obj5 ) ; theSet . add ( obj6 ) ; return theSet ; }
target:  Create a Set from passed objX parameters