Package org.faktorips.util
Class MultiMaps
java.lang.Object
org.faktorips.util.MultiMaps
MultiMap utilities
- Since:
- 23.6.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,V> MultiMap <K, V> unmodifiableMultimap(MultiMap<K, V> map) Returns an unmodifiable view of the specified multi map.
-
Method Details
-
unmodifiableMultimap
Returns an unmodifiable view of the specified multi map. Query operations on the returned multi map "read through" to the specified multi map. Attempts to modify the returned multi map, result in anUnsupportedOperationException.- Type Parameters:
K- the class of the map keysV- the class of the map values- Parameters:
map- the multi map for which an unmodifiable view is to be returned.- Returns:
- an unmodifiable view of the specified multi map.
-