+1(316)4441378

+44-141-628-6690

Fix two specific methods in this assignment

Basically, this was done by another expert who took on way too many assignments and decided to return null on a couple of functions, effectively allowing the program to compile but not actually doing anything; thus, I ended up failing a lot of test cases.

The two functions I need fixed are public E element() and public E peek() in PriorityTree.java

I am also attaching the log text file for the test cases that were failed. Just focus on the assertion errors for element() and peek(), I’m only allowed to fix those particular methods because they’re responsible for so many of the test cases.

Reference the txt file; I’m attaching all the classes (there are 3) for your reference but mainly you’ll be working with PriorityTree

You’re just rewriting two functions within a class so please don’t charge too much

 

You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.

 

Latest completed orders:

# topic title discipline academic level pages delivered
6
Writer's choice
Business
University
2
1 hour 32 min
7
Wise Approach to
Philosophy
College
2
2 hours 19 min
8
1980's and 1990
History
College
3
2 hours 20 min
9
pick the best topic
Finance
School
2
2 hours 27 min
10
finance for leisure
Finance
University
12
2 hours 36 min
[order_calculator]