@ -5,6 +5,12 @@ import java.util.HashMap;
public class Customers {
HashMap<String, User> pool = new HashMap<String, User>();
/**
*
* @param nickname Is the particular Nickname free to use?
* @return true if nickname is Available.
* @return false if nickname is Available.
*/
public boolean nickNameAvailable(String nickname) {
User u = pool.get(nickname);
if (null == u) {