titianvalero

26
reputation
5
public class titianvalero extends OverflowUser {

  public titianvalero() {
    super("titianvalero", "Spain");

    this.addLanguage("Java", "Python", "Javascript", "CSS", "PHP", "Arduino");
    this.addExperience("LordCraft", "CFGS DAM");
  }
}

public abstract class OverflowUser {

  @Getter private final String username;
  @Getter private final String country;

  private Set<String> languages = new HashSet<>();
  private Set<String> experiences = new HashSet<>();

  public GitHubUser(String username, String country) {
      this.name = username;
      this.country = country;
  }

  public void addLanguage(String... language) {
      this.languages.addAll(language);
  }
  
  public void addExperience(String... experience) {
      this.experiences.addAll(experience);
  }
}