Get the names of the currently loaded providers.

@return the names of the currently loaded providers, never null.
540439
@Override
    public Set<String> getProviderNames() {
        Set<String> result = new HashSet<>();
        for (CurrencyProviderSpi spi : Bootstrap.getServices(CurrencyProviderSpi.class)) {
            try {
                result.add(spi.getProviderName());
            } catch (Exception e) {
                Logger.getLogger(DefaultMonetaryCurrenciesSingletonSpi.class.getName())
                        .log(Level.SEVERE, "Error loading currency provider names for " + spi.getClass().getName(),
                                e);
            }
        }
        return result;
    }
638219
public java.util.List<String> getLaunchTemplateNames() {
        if (launchTemplateNames == null) {
            launchTemplateNames = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return launchTemplateNames;
    }
260056
public static function getAllProviders()
    {
        if (is_null(self::$providers)) {
            self::$providers = array();
            $plugins   = PluginManager::getInstance()->getPluginsLoadedAndActivated();
            foreach ($plugins as $plugin) {
                foreach (self::getLocationProviders($plugin) as $instance) {
                    self::$providers[] = $instance;
                }
            }
        }

        return self::$providers;
    }
638119
public java.util.List<String> getConfigRuleNames() {
        if (configRuleNames == null) {
            configRuleNames = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return configRuleNames;
    }
1054705
public java.util.List<String> getMergedDatasetNames() {
        if (mergedDatasetNames == null) {
            mergedDatasetNames = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return mergedDatasetNames;
    }
1371685
protected Set<String> getSortedAppNames()
    {
        if (applList == null)
        {
            return Collections.emptySet();
        }

        Set<String> appNames = applList.keySet();

        // Per Collections.synchronizedMap javadoc, must synchronize on map when
        // iterating over any of the collection views.
        synchronized (applList)
        {
            return new TreeSet<String>(appNames);
        }
    }
1149519
public static ProviderList getProviderList() {
        ProviderList list = getThreadProviderList();
        if (list == null) {
            list = getSystemProviderList();
        }
        return list;
    }
58142
public JSONArray names() {
        return nameValuePairs.isEmpty()
                ? null
                : new JSONArray(new ArrayList<String>(nameValuePairs.keySet()));
    }
802277
@Override
    public Set<ProviderInfo> currentProviderList() {
        providerLock.lock();
        try {
            ConcurrentHashSet<ProviderInfo> providerInfos = new ConcurrentHashSet<ProviderInfo>();
            providerInfos.addAll(aliveConnections.keySet());
            providerInfos.addAll(subHealthConnections.keySet());
            providerInfos.addAll(retryConnections.keySet());
            return providerInfos;
        } finally {
            providerLock.unlock();
        }
    }
597662
public Set<String> getNames() {
        if (parent == null) {
            return getLocalNames();
        }
        Set<String> result = new TreeSet<>();
        result.addAll(parent.getNames());
        result.addAll(getLocalNames());
        return result;
    }
427898
private int loadAll() {
        if (allLoaded) {
            return configs.length;
        }
        if (debug != null) {
            debug.println("Loading all providers");
            new Exception("Call trace").printStackTrace();
        }
        int n = 0;
        for (int i = 0; i < configs.length; i++) {
            Provider p = configs[i].getProvider();
            if (p != null) {
                n++;
            }
        }
        if (n == configs.length) {
            allLoaded = true;
        }
        return n;
    }
220277
public String[] getFeatNames() {
        String[] namesArray = new String[nameIndexMap.size()];

        for (Map.Entry<String, Integer> entry : nameIndexMap.entrySet()) {
            namesArray[entry.getValue()] = entry.getKey();
        }

        return namesArray;
    }
850803
public java.util.List<String> getAlarmNames() {
        if (alarmNames == null) {
            alarmNames = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return alarmNames;
    }
587440
public JSONArray names() {

        JSONArray ja = new JSONArray();
        Iterator<String> keys = keys();
        while (keys.hasNext()) {
            ja.put(keys.next());
        }
        return ja.length() == 0 ? null : ja;
    }
255798
public String[] names(){
        List<String> namesList = new ArrayList<String>();
        Enumeration<String> names = session.getAttributeNames();//request.getSession(true).getAttributeNames();
        if (names == null) return null;
        while (names.hasMoreElements()) {
            Object o = names.nextElement();
            namesList.add(o.toString());
        }        
        return namesList.toArray(new String[namesList.size()]);
    }
1039362
public static Set<String> getRoundingNames(String... providers) {
        return Optional.ofNullable(monetaryRoundingsSingletonSpi()).orElseThrow(
                () -> new MonetaryException("No MonetaryRoundingsSpi loaded, query functionality is not available."))
                .getRoundingNames(providers);
    }
169871
public String getName() {
    ResourceServices services = getServices();
    return (services != null) ? services.getResourceName() : null;
  }