N
Navhpf
Hi all!
I would need a kind of data structure that I cannot find in the JAVA
API.
It is a priority queue, allowing duplicates on the keys, but not on
the elements.
The kind of keys I need are of type float, and the elements would be 2
or 3-dimensional integer arrays.
As I understood it, Maps would not allow duplicate keys, and I cannot
figure how to build an ordering of the data I use to build a Set (any
Comparable implementation I can think of is not compatible with
equals() ).
Any help greatly appreciated,
NaV
I would need a kind of data structure that I cannot find in the JAVA
API.
It is a priority queue, allowing duplicates on the keys, but not on
the elements.
The kind of keys I need are of type float, and the elements would be 2
or 3-dimensional integer arrays.
As I understood it, Maps would not allow duplicate keys, and I cannot
figure how to build an ordering of the data I use to build a Set (any
Comparable implementation I can think of is not compatible with
equals() ).
Any help greatly appreciated,
NaV