EvictingQueue in Kotlin

后端 未结 0 1812
不知归路
不知归路 2021-02-06 12:07

I need a collection that:

  • has a fixed size
  • is mutable
  • will re-index elements once a new element is added, removing the oldest element (like a shif
相关标签:
回答
  • 消灭零回复
提交回复
热议问题