@@ -0,0 +1,2006 @@
+package com.google.sps;%0A%0Aimport java.util.HashSet;%0Aimport java.util.Set;%0A%0Apublic final class User %7B%0A  private final long userId;%0A  private String name;%0A  private String email;%0A  private Set%3CString%3E interests;%0A  private Set%3CString%3E skills;%0A  private Set%3CEvent%3E eventsHosting;%0A  private Set%3CEvent%3E eventsParticipating;%0A  private Set%3CEvent%3E eventsVolunteering;%0A%0A  /**%0A   * Creates a new user.%0A   *%0A   * @param name The human-readable name for the user. Must be non-null.%0A   * @param email The e-mail with which the user is reachable. Must be non-null.%0A   */%0A  public User(String name, String email) %7B%0A    this.userId = 10000000L;%0A    this.name = name;%0A    this.email = email;%0A    this.interests = new HashSet%3C%3E();%0A    this.skills = new HashSet%3C%3E();%0A    this.eventsHosting = new HashSet%3C%3E();%0A    this.eventsParticipating = new HashSet%3C%3E();%0A    this.eventsVolunteering = new HashSet%3C%3E();%0A  %7D%0A%0A  public long getId() %7B%0A    return this.userId;%0A  %7D%0A%0A  public String getName() %7B%0A    return this.name;%0A  %7D%0A%0A  public void setName(String name) %7B%0A    this.name = name;%0A  %7D%0A%0A  public String getEmail() %7B%0A    return this.email;%0A  %7D%0A%0A  public void setEmail(String email) %7B%0A    this.email = email;%0A  %7D%0A%0A  public Set%3CString%3E getInterests() %7B%0A    return this.interests;%0A  %7D%0A%0A  public void addInterest(String interest) %7B%0A    this.interests.add(interest);%0A  %7D%0A%0A  public Set%3CString%3E getSkills() %7B%0A    return this.skills;%0A  %7D%0A%0A  public void addSkill(String skill) %7B%0A    this.skills.add(skill);%0A  %7D%0A%0A  public Set%3CEvent%3E getEventsHosting() %7B%0A    return this.eventsHosting;%0A  %7D%0A%0A  public void addEventHosting(Event event) %7B%0A    this.eventsHosting.add(event);%0A  %7D%0A%0A  public Set%3CEvent%3E getEventsParticipating() %7B%0A    return this.eventsParticipating;%0A  %7D%0A%0A  public void addEventParticipating(Event event) %7B%0A    this.eventsParticipating.add(event);%0A  %7D%0A%0A  public Set%3CEvent%3E getEventsVolunteering() %7B%0A    return this.eventsVolunteering;%0A  %7D%0A%0A  public void addEventVolunteering(Event event) %7B%0A    this.eventsVolunteering.add(event);%0A  %7D%0A%7D%0A

Add User class