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 interfaceFields 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 thisTypeSafeKeywith 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 newTypeSafeKeyto the head of thisSchema.booleanHMap.containsKey(TypeSafeKey<?, ?> key) Determine if a key is mapped.<V> VHMap.demand(TypeSafeKey<?, V> key) Retrieve the value at this key, throwing aNoSuchElementExceptionif 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> HMapHMap.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 aSchemafrom a singleTypeSafeKey.Schema.schema(TypeSafeKey<?, A> aKey, TypeSafeKey<?, B> bKey) Create aSchemafrom twoTypeSafeKeys.Schema.schema(TypeSafeKey<?, A> aKey, TypeSafeKey<?, B> bKey, TypeSafeKey<?, C> cKey) Create aSchemafrom threeTypeSafeKeys.Schema.schema(TypeSafeKey<?, A> aKey, TypeSafeKey<?, B> bKey, TypeSafeKey<?, C> cKey, TypeSafeKey<?, D> dKey) Create aSchemafrom fourTypeSafeKeys.Schema.schema(TypeSafeKey<?, A> aKey, TypeSafeKey<?, B> bKey, TypeSafeKey<?, C> cKey, TypeSafeKey<?, D> dKey, TypeSafeKey<?, E> eKey) Create aSchemafrom fiveTypeSafeKeys.Schema.schema(TypeSafeKey<?, A> aKey, TypeSafeKey<?, B> bKey, TypeSafeKey<?, C> cKey, TypeSafeKey<?, D> dKey, TypeSafeKey<?, E> eKey, TypeSafeKey<?, F> fKey) Create aSchemafrom 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 aSchemafrom 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 aSchemafrom eightTypeSafeKeys.static <V> HMapHMap.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 HMapHMap.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> RMergeHMaps.Φ.eliminate(TypeSafeKey<?, A> key) <A> MergeHMapsMergeHMaps.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 TypeSafeKeyModifierConstructorDescriptionprivateMergeHMaps(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)