I am trying to use long instead of integer to create a phoneBook. It keeps saying its an integer and its to large.
* Write a description of class MapTester here.
* @author (your name)
* @version (a version number or a date)
public class PhoneBook
private HashMap<String, Long> phoneBook = new HashMap<String, Long> ();
private HashSet<String, Long> phoneBook = new HashSet<String, Long>();
phoneBook.put("Homer Jay Simpson", 53193924587);
phoneBook.put("Peter Griffin", 53154321945);
phoneBook.put("Apu Nahasapeemapetilon", 53142344418);
* Method that takes two parameters the name and telephone number and then attempts to add information into the phonebook
public void phoneBook(String name, long number)
public String lookupNumber(String name)