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