Code example for Set

Methods: sizetoArray

0
            } 
        } 
    } 
 
    public InjectionProvider<?>[] getInjectionProviders() { 
        return injectionProviders.toArray(new InjectionProvider<?>[injectionProviders.size()]);
    } 
 
    /** 
     * Checks if given class is an {@link InjectionProvider} 
     * 
     * @param type Class to check 
     * @return <code>true</code> if type can be cast to {@link InjectionProvider} 
     */ 
    static boolean isInjectionProvider(final Class<?> type) {
        return InjectionProvider.class.isAssignableFrom(type);
    } 
 
    /** 
     * Checks if given class is an {@link InjectionProviderInstancesSupplier}