Uses of Class
eu.bandm.tools.lexic.CodePointMap
-
Uses of CodePointMap in eu.bandm.tools.lexic
Modifier and TypeFieldDescriptionprotected final CodePointMap<T>
Behavior.transitions
The map of transitions of this behavior.Modifier and TypeMethodDescriptionstatic <V> CodePointMap<V>
CodePointMap.anyOf
(int[] keys, V value) Returns a map containing several entries with the same value.static <V> CodePointMap<V>
CodePointMap.constant
(V value) Returns a total map containing one entry for every code point, all with the same value.static <V> CodePointMap<V>
CodePointMap.empty()
Returns a map containing no entries.static <V,
W, X> CodePointMap<X> CodePointMap.intersect
(CodePointMap<V> a, CodePointMap<W> b, BiFunction<? super V, ? super W, ? extends X> intersector) Returns a map containing the intersected entries of two maps, with conflicting values combined.<W> CodePointMap<W>
Returns a map containing the entries of this map, with all values transformed.static <V> CodePointMap<V>
CodePointMap.merge
(CodePointMap<V> a, CodePointMap<V> b, BinaryOperator<V> merger) Returns a map containing the merged entries of two maps, with conflicting values combined.static <V> CodePointMap<V>
Returns a map containing the given entries.CodePointMap.simplify()
Returns a map that differs from this map at most by discarding explicit entries that are already implicit.static <V> CodePointMap<V>
CodePointMap.singleton
(int key, V value) Returns a map containing one entry.Returns a map that differs from this map by having default entries for all keys previously mapped tonull
.Returns a map containing the entries of this map with one value added or overwritten.CodePointMap.with
(int key, V value, @Opt BinaryOperator<V> merge) Returns a map containing the entries of this map with one value added or merged.CodePointMap.without
(int key) Returns a map containing the entries of this map with one value removed.CodePointMap.without
(int... keys) Returns a map containing the entries of this map with some values removed.Modifier and TypeMethodDescriptionstatic <V,
W, X> CodePointMap<X> CodePointMap.intersect
(CodePointMap<V> a, CodePointMap<W> b, BiFunction<? super V, ? super W, ? extends X> intersector) Returns a map containing the intersected entries of two maps, with conflicting values combined.static <V> CodePointMap<V>
CodePointMap.merge
(CodePointMap<V> a, CodePointMap<V> b, BinaryOperator<V> merger) Returns a map containing the merged entries of two maps, with conflicting values combined.ModifierConstructorDescriptionprotected
Behavior
(L label, CodePointMap<T> transitions) Creates a new instance.