public static < K , V > Lens . Simple < Map < K , V > , Map < K , V > > asCopy ( ) { return adapt ( asCopy ( HashMap :: new ) ) ; }
A lens that focuses on a copy of a Map . Useful for composition to avoid mutating a map reference .