- No, GS Collections doesn't have Queue implementations yet. You could raise a request in the issue tracker.
- No, GS Collections doesn't have a sorted heap yet. As a first step toward supporting one, GS Collections could have a QueueAdapter which could wrap a java.util.PriorityQueue but add additional API.
- I am a developer on GS Collections. We're watching the gs-collections tag and can help. This is a broad question so I'll write a short answer here and you can write a new top level question if you'd like to go into it more.
GS Collections is particularly good when:
- You need a container that isn't provided by the JCF or other collections libraries, like Multimaps, Bags, BiMaps, primitive collections, or immutable collections.
- You run the JVM with a lot of memory / you have GC problems / you need memory-efficient containers. For example, UnifiedMap uses half the memory of HashMap and UnifiedSet uses a quarter of the memory of HashSet. Multimaps, Bags, and BiMaps are built on top of these more efficient structures.
- You want a rich API on your collections. Most collections implement RichIterable which provides many iteration pattern methods.