I want to know that what class from java's standard collection can be made a parent class of Min-Heap or Max-Heap? I develop the class Heap which can convert the heap to min or max depending upon strategy and used methods like add, toString, toArray for serving the purpose of standard collection method names.I need to make a parent class for Heap. Which class or collection i can extend?
I am using Node structure of left -right child.