public static Set < ResourceType > of ( final ResourceType first , final ResourceType ... rest ) { final Set < ResourceType > set = new HashSet <> ( ) ; set . add ( first ) ; set . addAll ( Arrays . asList ( rest ) ) ; return set ; }
Returns a set containing the given resource types