且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

高性能并发 MultiMap Java/Scala

更新时间:2022-01-11 01:32:32

为什么不将 ConcurrentHashMap[T,ConcurrentLinkedQueue[U]] 用一些类似 Scala 的好方法(例如隐式转换为 Iterable 或任何您需要的方法,和更新方法)?

Why not wrap ConcurrentHashMap[T,ConcurrentLinkedQueue[U]] with some nice Scala-like methods (e.g. implicit conversion to Iterable or whatever it is that you need, and an update method)?