Code example for HashSet

Methods: clear

    public LoaderManager getDelegate() {
        return mDelegate;
    public void reset() { 
     * Waits for the specified loaders to complete loading. 
     * <p> 
     * If one of the loaders has already completed since the last call to {@link #reset()}, it will 
     * not wait for it to complete again. 
    /*package*/ synchronized void waitForLoaders(int... loaderIds) {
        List<Loader<?>> loaders = new ArrayList<Loader<?>>(loaderIds.length);
        for (int loaderId : loaderIds) {
            if (mFinishedLoaders.contains(loaderId)) {
                // This loader has already completed since the last reset, do not wait for it.