public static Heap GetInstance() { if (instance == null){ instance = new Heap(); } return instance; }
public void setHeapReference(Heap.HeapReference reference) { this.heapRef = reference; }