test&lab
This commit is contained in:
13
DataLabs/lab6/TelephoneDirectory.java
Normal file
13
DataLabs/lab6/TelephoneDirectory.java
Normal file
@ -0,0 +1,13 @@
|
||||
import java.util.Iterator;
|
||||
import java.util.Scanner;
|
||||
|
||||
public class TelephoneDirectory
|
||||
{
|
||||
private DictionaryInterface<Name, String> phoneBook;
|
||||
|
||||
public TelephoneDirectory()
|
||||
{
|
||||
//phoneBook = new SortedArrayDictionary<>();
|
||||
phoneBook = new SortedLinkedDictionary<>(); //Currently Linked Directory
|
||||
} // end default constructor
|
||||
|
Reference in New Issue
Block a user