Uses of Interface
com.jnape.palatable.lambda.adt.hmap.TypeSafeKey
Packages that use TypeSafeKey
Package
Description
-
Uses of TypeSafeKey in com.jnape.palatable.lambda.adt.hmap
Subinterfaces of TypeSafeKey in com.jnape.palatable.lambda.adt.hmapModifier and TypeInterfaceDescriptionstatic interface
Fields in com.jnape.palatable.lambda.adt.hmap with type parameters of type TypeSafeKeyMethods in com.jnape.palatable.lambda.adt.hmap that return TypeSafeKeyModifier and TypeMethodDescriptiondefault <C> TypeSafeKey
<A, C> TypeSafeKey.andThen
(Iso.Simple<B, C> f) Left-to-right composition of thisTypeSafeKey
with some otherIso
.default <U> TypeSafeKey
<A, B> Methods in com.jnape.palatable.lambda.adt.hmap that return types with arguments of type TypeSafeKeyModifier and TypeMethodDescriptionIterator
<Tuple2<TypeSafeKey<?, ?>, Object>> HMap.iterator()
Set
<TypeSafeKey<?, ?>> HMap.keys()
Retrieve all the mapped keys.Map
<TypeSafeKey<?, ?>, Object> HMap.toMap()
Methods in com.jnape.palatable.lambda.adt.hmap with parameters of type TypeSafeKeyModifier and TypeMethodDescriptiondefault <A,
NewValues extends HList.HCons<A, Values>>
Schema<NewValues> Schema.add
(TypeSafeKey<?, A> key) Add a newTypeSafeKey
to the head of thisSchema
.boolean
HMap.containsKey
(TypeSafeKey<?, ?> key) Determine if a key is mapped.<V> V
HMap.demand
(TypeSafeKey<?, V> key) Retrieve the value at this key, throwing aNoSuchElementException
if this key is unmapped.<A,
B> Maybe <B> HMap.get
(TypeSafeKey<A, B> key) Retrieve the value at this key.static <V1,
V2> HMap HMap.hMap
(TypeSafeKey<?, V1> key1, V1 value1, TypeSafeKey<?, V2> key2, V2 value2) Static factory method for creating an HMap from two given associations.static <V1,
V2, V3>
HMapHMap.hMap
(TypeSafeKey<?, V1> key1, V1 value1, TypeSafeKey<?, V2> key2, V2 value2, TypeSafeKey<?, V3> key3, V3 value3) Static factory method for creating an HMap from three given associations.static <V1,
V2, V3, V4>
HMapHMap.hMap
(TypeSafeKey<?, V1> key1, V1 value1, TypeSafeKey<?, V2> key2, V2 value2, TypeSafeKey<?, V3> key3, V3 value3, TypeSafeKey<?, V4> key4, V4 value4) Static factory method for creating an HMap from four given associations.static <V1,
V2, V3, V4, V5>
HMapHMap.hMap
(TypeSafeKey<?, V1> key1, V1 value1, TypeSafeKey<?, V2> key2, V2 value2, TypeSafeKey<?, V3> key3, V3 value3, TypeSafeKey<?, V4> key4, V4 value4, TypeSafeKey<?, V5> key5, V5 value5) Static factory method for creating an HMap from five given associations.static <V1,
V2, V3, V4, V5, V6>
HMapHMap.hMap
(TypeSafeKey<?, V1> key1, V1 value1, TypeSafeKey<?, V2> key2, V2 value2, TypeSafeKey<?, V3> key3, V3 value3, TypeSafeKey<?, V4> key4, V4 value4, TypeSafeKey<?, V5> key5, V5 value5, TypeSafeKey<?, V6> key6, V6 value6) Static factory method for creating an HMap from six given associations.static <V1,
V2, V3, V4, V5, V6, V7>
HMapHMap.hMap
(TypeSafeKey<?, V1> key1, V1 value1, TypeSafeKey<?, V2> key2, V2 value2, TypeSafeKey<?, V3> key3, V3 value3, TypeSafeKey<?, V4> key4, V4 value4, TypeSafeKey<?, V5> key5, V5 value5, TypeSafeKey<?, V6> key6, V6 value6, TypeSafeKey<?, V7> key7, V7 value7) Static factory method for creating an HMap from seven given associations.static <V1,
V2, V3, V4, V5, V6, V7, V8>
HMapHMap.hMap
(TypeSafeKey<?, V1> key1, V1 value1, TypeSafeKey<?, V2> key2, V2 value2, TypeSafeKey<?, V3> key3, V3 value3, TypeSafeKey<?, V4> key4, V4 value4, TypeSafeKey<?, V5> key5, V5 value5, TypeSafeKey<?, V6> key6, V6 value6, TypeSafeKey<?, V7> key7, V7 value7, TypeSafeKey<?, V8> key8, V8 value8) Static factory method for creating an HMap from eight given associations.<V> HMap
HMap.put
(TypeSafeKey<?, V> key, V value) Store a value for the given key.HMap.remove
(TypeSafeKey<?, ?> key) Remove a mapping from this HMap.static <A> Schema
<SingletonHList<A>> Schema.schema
(TypeSafeKey<?, A> key) Create aSchema
from a singleTypeSafeKey
.Schema.schema
(TypeSafeKey<?, A> aKey, TypeSafeKey<?, B> bKey) Create aSchema
from twoTypeSafeKeys
.Schema.schema
(TypeSafeKey<?, A> aKey, TypeSafeKey<?, B> bKey, TypeSafeKey<?, C> cKey) Create aSchema
from threeTypeSafeKeys
.Schema.schema
(TypeSafeKey<?, A> aKey, TypeSafeKey<?, B> bKey, TypeSafeKey<?, C> cKey, TypeSafeKey<?, D> dKey) Create aSchema
from fourTypeSafeKeys
.Schema.schema
(TypeSafeKey<?, A> aKey, TypeSafeKey<?, B> bKey, TypeSafeKey<?, C> cKey, TypeSafeKey<?, D> dKey, TypeSafeKey<?, E> eKey) Create aSchema
from fiveTypeSafeKeys
.Schema.schema
(TypeSafeKey<?, A> aKey, TypeSafeKey<?, B> bKey, TypeSafeKey<?, C> cKey, TypeSafeKey<?, D> dKey, TypeSafeKey<?, E> eKey, TypeSafeKey<?, F> fKey) Create aSchema
from sixTypeSafeKeys
.Schema.schema
(TypeSafeKey<?, A> aKey, TypeSafeKey<?, B> bKey, TypeSafeKey<?, C> cKey, TypeSafeKey<?, D> dKey, TypeSafeKey<?, E> eKey, TypeSafeKey<?, F> fKey, TypeSafeKey<?, G> gKey) Create aSchema
from sevenTypeSafeKeys
.Schema.schema
(TypeSafeKey<?, A> aKey, TypeSafeKey<?, B> bKey, TypeSafeKey<?, C> cKey, TypeSafeKey<?, D> dKey, TypeSafeKey<?, E> eKey, TypeSafeKey<?, F> fKey, TypeSafeKey<?, G> gKey, TypeSafeKey<?, H> hKey) Create aSchema
from eightTypeSafeKeys
.static <V> HMap
HMap.singletonHMap
(TypeSafeKey<?, V> key, V value) Static factory method for creating a singleton HMap.Method parameters in com.jnape.palatable.lambda.adt.hmap with type arguments of type TypeSafeKeyModifier and TypeMethodDescriptionprivate HMap
HMap.alter
(Consumer<Map<TypeSafeKey<?, ?>, Object>> alterFn) Constructor parameters in com.jnape.palatable.lambda.adt.hmap with type arguments of type TypeSafeKey -
Uses of TypeSafeKey in com.jnape.palatable.lambda.monoid.builtin
Fields in com.jnape.palatable.lambda.monoid.builtin with type parameters of type TypeSafeKeyMethods in com.jnape.palatable.lambda.monoid.builtin with parameters of type TypeSafeKeyModifier and TypeMethodDescription<A> R
MergeHMaps.Φ.eliminate
(TypeSafeKey<?, A> key) <A> MergeHMaps
MergeHMaps.key
(TypeSafeKey<?, A> key, Semigroup<A> semigroup) MergeHMaps.merge
(TypeSafeKey<?, A> key, Semigroup<Maybe<A>> semigroup) Constructor parameters in com.jnape.palatable.lambda.monoid.builtin with type arguments of type TypeSafeKeyModifierConstructorDescriptionprivate
MergeHMaps
(Map<TypeSafeKey<?, ?>, Fn2<HMap, HMap, HMap>> bindings, MergeHMaps.Φ<Fn2<HMap, HMap, HMap>> defaultBinding) -
Uses of TypeSafeKey in com.jnape.palatable.lambda.optics.lenses
Methods in com.jnape.palatable.lambda.optics.lenses with parameters of type TypeSafeKeyModifier and TypeMethodDescriptionstatic <A> Lens.Simple
<HMap, Maybe<A>> HMapLens.valueAt
(TypeSafeKey<?, A> key)