public boolean equals(Object o) {
if (!(o instanceof EmulationProfile)) {
return false;
}
EmulationProfile other = (EmulationProfile) o;
return this.getProfileName().equals(other.getProfileName()) &&
this.getResolution().getHeight() == other.getResolution().getHeight() &&
this.getResolution().getWidth() == other.getResolution().getWidth() &&
this.getPPI() == other.getPPI() &&
this.getIME() == other.getIME() &&
this.getUserAgent().equals(other.getUserAgent());
}