There is something wrong with my min() method, I got max to work though.


public double maximum()
{
DoubleNode compare = head;
if(size() == 1){
return compare.getItem();
}else...