org.apache.commons.collections.map.UnmodifiableMap Java Examples
The following examples show how to use
org.apache.commons.collections.map.UnmodifiableMap.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: InstalledUpdatesRegistry.java From xds-ide with Eclipse Public License 1.0 | 4 votes |
@SuppressWarnings("unchecked") public Map<String, InstalledUpdate> getInstalledFile2Descriptor() { return UnmodifiableMap.decorate(installedFile2Descriptor); }
Example #2
Source File: StreamMetadataManager.java From Eagle with Apache License 2.0 | 4 votes |
public Map<String, List<AlertStreamSchemaEntity>> getMetadataEntitiesForAllStreams(){ ensureInitialized(); return UnmodifiableMap.decorate(map); }
Example #3
Source File: StreamMetadataManager.java From Eagle with Apache License 2.0 | 4 votes |
public Map<String, SortedMap<String, AlertStreamSchemaEntity>> getMetadataEntityMapForAllStreams(){ ensureInitialized(); return UnmodifiableMap.decorate(map2); }
Example #4
Source File: DefaultStellarShellExecutor.java From metron with Apache License 2.0 | 4 votes |
@Override @SuppressWarnings("unchecked") public Map<String, VariableResult> getState() { return UnmodifiableMap.decorate(variables); }
Example #5
Source File: MapUtils.java From Penetration_Testing_POC with Apache License 2.0 | 2 votes |
/** * Returns an unmodifiable map backed by the given map. * <p> * This method uses the implementation in the decorators subpackage. * * @param map the map to make unmodifiable, must not be null * @return an unmodifiable map backed by the given map * @throws IllegalArgumentException if the map is null */ public static Map unmodifiableMap(Map map) { return UnmodifiableMap.decorate(map); }