Class HMapLens
- java.lang.Object
-
- com.jnape.palatable.lambda.optics.lenses.HMapLens
-
public final class HMapLens extends java.lang.Object
Lenses that operate onHMap
s.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
HMapLens()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <A> Lens.Simple<HMap,Maybe<A>>
valueAt(TypeSafeKey<?,A> key)
-
-
-
Method Detail
-
valueAt
public static <A> Lens.Simple<HMap,Maybe<A>> valueAt(TypeSafeKey<?,A> key)
- Type Parameters:
A
- the value type at the key- Parameters:
key
- the key- Returns:
- the lens
-
-