且构网

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

高性能并发MultiMap Java / Scala

更新时间:2022-01-02 01:54:12

为什么不打包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)?