Code example for Map

Methods: entrySet

0
    /** 
     * @return Never <code>null</code>. 
     */ 
    public String getDefaultProviderId() {
        // assume there is at least 1 provider defined 
        return mProviders.entrySet().iterator().next().getKey();
    } 
 
    /** 
     * @param providerId 
     *            Never <code>null</code>. 
     * @return <code>null</code> if not found. 
     */ 
    protected StorageProvider getProvider(final String providerId) {
        return mProviders.get(providerId);
    } 
 
    /** 
     * @param dbName 
     *            Never <code>null</code>. 
     * @param providerId