/** * 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); }
/** * 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); }
public Map makeEmptyMap() { return UnmodifiableMap.decorate(new HashMap()); }
public Map makeFullMap() { Map m = new HashMap(); addSampleMappings(m); return UnmodifiableMap.decorate(m); }
@Override @SuppressWarnings("unchecked") public Map<String, VariableResult> getState() { return UnmodifiableMap.decorate(variables); }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }
@SuppressWarnings({"unused", "unchecked"}) public Map<String, String> getEnvMap() { return UnmodifiableMap.decorate(envMap); }
/** * This will create a map that will be used as a pointer to the entry created in the default CF (i.e. usually the Event CF) * * @param rowKeyToIndex String that is the row key to index - i.e. usually, the row key in the event CF * @return */ private Map<String, String> createNonDefaultDataMap(String rowKeyToIndex) { Map<String, String> nonDefaultMap = new HashMap<String, String>(); nonDefaultMap.put(rowKeyToIndex, ""); return UnmodifiableMap.decorate(nonDefaultMap); }
/** * This will create a map that will be used as a pointer to the entry created in the default CF (i.e. usually the Event CF) * * @param rowKeyToIndex String that is the row key to index - i.e. usually, the row key in the event CF * @return */ private Map<String, String> createNonDefaultDataMap(String rowKeyToIndex) { Map<String, String> nonDefaultMap = new HashMap<String, String>(); nonDefaultMap.put(rowKeyToIndex, ""); return UnmodifiableMap.decorate(nonDefaultMap); }
public Map<String, SortedMap<String, AlertStreamSchemaEntity>> getMetadataEntityMapForAllStreams(){ ensureInitialized(); return UnmodifiableMap.decorate(map2); } }