Queues are not yet implemented in Trove.
Trove Library Queue implementation
-
28-06-2022 - |
سؤال
I am using trove 3.0.3 library in java project. All classes in gnu.trove.queue (TByteQueue, TDoubleQueue ...) are all interfaces. Where I can find implementation of Queue classes?
المحلول 2
نصائح أخرى
You can emulate simple Queue of double using TDoubleLinkedList. It can insert to tail and to head in O(1) time.
لا تنتمي إلى StackOverflow