Modifying Java's PQ for my own dastardly porpoises