How to use `ClassTag` and type comparison operator, `<:` at the same time?

后端 未结 0 718
臣服心动
臣服心动 2020-12-14 09:17

I have the following class defined,

class FixedLengthQueue[T<:Hashable](maxLength: Int) {
    private val _outdated = ArrayBuffer.empty[T]
    def outdated         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题