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?

assylias
  • 321,522
  • 82
  • 660
  • 783
cdkrot
  • 279
  • 1
  • 2
  • 8

2 Answers2

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