private static Set<InjectionProvider<?>> newProviderSet(final InjectionProvider<?>... providers) {
        final Set<InjectionProvider<?>> result = new LinkedHashSet<InjectionProvider<?>>();

        if (providers != null && providers.length > 0) {

            for (final InjectionProvider<?> provider : providers) {
                result.add(provider);
            }

        }
        return result;
    }
private static Set < InjectionProvider < ? > > newProviderSet ( final InjectionProvider < ? > ... providers ) { final Set < InjectionProvider < ? > > result = new LinkedHashSet < InjectionProvider < ? > > ( ) ; if ( providers != null && providers . length > 0 ) { for ( final InjectionProvider < ? > provider : providers ) { result . add ( provider ) ; } } return result ; }
Creates a new Set.

@param providers
vararg array of providers
@return set containing providers