Trove Library Queue implementation
Asked Answered
O

2

7

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?

Overreach answered 17/9, 2013 at 17:52 Comment(0)
P
1

Queues are not yet implemented in Trove.

Pertinent answered 19/9, 2013 at 22:12 Comment(5)
is there a plan to do so?Retorsion
@AlexAverbuch Unlikely. Use GS collectionsPertinent
Thanks @leventov. Are you a/the Trove developer?Retorsion
@AlexAverbuch no, but there is no considerable activity in the Trove repo for years.Pertinent
to not hijack this question I've created a new question here #27707430 it would be great if you could assist!Retorsion
A
2

You can emulate simple Queue of double using TDoubleLinkedList. It can insert to tail and to head in O(1) time.

Andryc answered 10/11, 2016 at 18:48 Comment(0)
P
1

Queues are not yet implemented in Trove.

Pertinent answered 19/9, 2013 at 22:12 Comment(5)
is there a plan to do so?Retorsion
@AlexAverbuch Unlikely. Use GS collectionsPertinent
Thanks @leventov. Are you a/the Trove developer?Retorsion
@AlexAverbuch no, but there is no considerable activity in the Trove repo for years.Pertinent
to not hijack this question I've created a new question here #27707430 it would be great if you could assist!Retorsion

© 2022 - 2024 — McMap. All rights reserved.