-
Notifications
You must be signed in to change notification settings - Fork 218
Open
Description
- Some APIs will conflict in Kotlin.
Example:
Long2ObjectMap.computeIfAbsent(long, V) <-> Long2ObjectMap.computeIfAbsent(java.lang.Long, V)- Kotlin built-in extensions will make many classes degenerate to normal type.
Example:
Object2LongMap.forEach will produce entry with type java.lang.Object and java.lang.Long. And Map.put(K, V), etc.
Entry<K,V>.component1 / component2
One of the resolutions: PairExtensions.kt
I hope these stuffs could be library built-in ones, so Kotlin will give priority to existing member methods rather than extension functions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels