public class BinaryTreeHeap extends Object implements IHeap
BinaryTreeHeap(int size)
BinaryTreeHeap(int[] elements, int[] values)
int
getLastRemValue()
void
insert(int value, int element)
boolean
isEmpty()
remove(int element)
removemin()
size()
String
toString()
update(int newValue, int element)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public BinaryTreeHeap(int[] elements, int[] values)
public BinaryTreeHeap(int size)
public boolean isEmpty()
isEmpty
IHeap
public int size()
size
public int getLastRemValue()
public void insert(int value, int element)
insert
public int remove(int element)
remove
public void update(int newValue, int element)
update
public int removemin()
removemin
public String toString()
toString
Object
Copyright © 2015. All rights reserved.