最佳答案
有关更多信息,我们应该知道您在哪里找到此声明以及为什么需要使用它......但是,继续......
您有一个列表,其中每个位置都包含字节集合
让我们更好地解释一下:
你有一个
ArrayList
,直到这里一切正常。对吗?此
ArrayList
在每个位置包含一个名为ArrayDeque
的集合。 :Resizable-array implementation of the Deque interface. Array deques have no capacity restrictions; they grow as necessary to support usage. They are not thread-safe; in the absence of external synchronization, they do not support concurrent access by multiple threads. Null elements are prohibited. This class is likely to be faster than Stack when used as a stack, and faster than LinkedList when used as a queue.
还有这个
ArrayDeque
每个位置都包含ByteBuffer
,即Buffer
的扩展,它是字节
的容器:Buffer: A container for data of a specific primitive type.
关于java - 谁能帮助我理解 ArrayList<ArrayDeque<ByteBuffer>> 类型?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31582036/