Returns a view of a map whose values are derived from the original map's entries. In contrast to #transformValues, this method's entry-transformation logic may depend on the key as well as the value. All other properties of the transformed map, such as iteration order, are left intact. F
(Map<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer)
| 1780 | |
| 1781 | |
| 1782 | public static <K, V1, V2> Map<K, V2> transformEntries(Map<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer) { |
| 1783 | return new TransformedEntriesMap<K, V1, V2>(fromMap, transformer); |
| 1784 | } |
| 1785 | |
| 1786 | /** |
| 1787 | * Returns a view of a sorted map whose values are derived from the original |
no outgoing calls
no test coverage detected