mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-14 06:17:44 +02:00
15 lines
857 B
YAML
15 lines
857 B
YAML
"effect/HashMap#countBy":
|
|
replacement: "HashMap.reduce"
|
|
note: "Count matches with HashMap.reduce(self, 0, (count, value, key) => count + (predicate(value, key) ? 1 : 0))."
|
|
"effect/HashMap#HashMap":
|
|
replacement: "HashMap.HashMap"
|
|
note: "The immutable two-parameter model remains; use public operations rather than depending on its representation."
|
|
"effect/HashMap#keySet":
|
|
replacement: "HashSet.fromIterable + HashMap.keys"
|
|
note: "Construct the set with HashSet.fromIterable(HashMap.keys(self)); no direct keySet helper remains."
|
|
"effect/HashMap#TypeId":
|
|
replacement: "HashMap.isHashMap"
|
|
note: "The brand is private; use HashMap.isHashMap for runtime refinement and HashMap.HashMap<K, V> in type positions."
|
|
"effect/HashMap#unsafeGet":
|
|
replacement: "HashMap.getUnsafe"
|
|
note: "Direct word-order rename; it still throws for a missing key."
|