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?
Asked
Active
Viewed 693 times
2 Answers
2
You can emulate simple Queue of double using TDoubleLinkedList. It can insert to tail and to head in O(1) time.

jreznot
- 2,694
- 2
- 35
- 53
1
Queues are not yet implemented in Trove.

leventov
- 14,760
- 11
- 69
- 98
-
is there a plan to do so? – Alex Averbuch Dec 30 '14 at 13:22
-
1@AlexAverbuch Unlikely. Use GS collections – leventov Dec 30 '14 at 13:31
-
Thanks @leventov. Are you a/the Trove developer? – Alex Averbuch Dec 30 '14 at 13:49
-
@AlexAverbuch no, but there is no considerable activity in the Trove repo for years. – leventov Dec 30 '14 at 13:52
-
to not hijack this question I've created a new question here http://stackoverflow.com/questions/27706930/looking-for-sorted-heap-concurrent-queue-in-gs-collections-library it would be great if you could assist! – Alex Averbuch Dec 30 '14 at 14:09