The document link is attached below:
https://docs.google.com/document/d/11S7hRlZ3DIa01xo7aNZ7DfMLhIm-zSAUEtiaVrJQZD0/edit
My src files are attached.
I'm having trouble implementing:
BSTMap.java
Your BSTMap class should use an instance variable of type BST to store its entries. Note that BSTMap should only call methods from BST, BSTMap should not edit the BST's nodes directly. You have to implement the following methods for the BSTMap class:
public V put( K key, V value )
Associates the given key with the given value in the map. Should not add duplicate items to the map. If the map previously contained a mapping for the key, the old value is replaced by the specified value.
Here is my gradescope error:
Starting a Gradle Daemon (subsequent builds will be faster)
Task :clean
Task :compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Task :processResources NO-SOURCE
Task :classes
Task :jar
Task :assemble
Task :compileTestJava FAILED
/autograder/source/7P/src/test/MapTest.java:687: error: cannot find symbol
assertTrue(TreeApp.validateTree(list, bm.getTree()));
^
symbol: method getTree()
location: variable bm of type BSTMap<Integer,String>
/autograder/source/7P/src/test/MapTest.java:726: error: cannot find symbol
assertTrue(TreeApp.validateTree(list, bm.getTree()));
^
symbol: method getTree()
location: variable bm of type BSTMap<Integer,String>
/autograder/source/7P/src/test/MapTest.java:762: error: cannot find symbol
assertTrue(TreeApp.validateTree(list, bm.getTree()));
____________________________________________________________________________ Introduction A Map is a type of collection that associates a key with a value. The mapping of keys to values can be accomplished using different underlying data structures. In this three-part assignment, you will be work...