@ -22,6 +22,11 @@ public class Customers {
return pool.putIfAbsent(user.nickName, user);
}
/**
*
* @param userNickname Delete a particular User with the given nickname
* @return null or the deleted user.
*/
public User deleteUser(String userNickname) {
return pool.remove(userNickname);