@Test public void equals_null() { final DeviceCategory a = new Blueprint().build(); assertThat(a.equals(null)).isFalse(); }
@Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final DeviceCategory other = (DeviceCategory) obj; if (!category.equals(other.category)) { return false; } if (!icon.equals(other.icon)) { return false; } if (!infoUrl.equals(other.infoUrl)) { return false; } if (!name.equals(other.name)) { return false; } return true; }
DeviceCategory implements ReadableDeviceCategory, Serializable { @Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final DeviceCategory other = (DeviceCategory) obj; if (!category.equals(other.category)) { return false; } if (!icon.equals(other.icon)) { return false; } if (!infoUrl.equals(other.infoUrl)) { return false; } if (!name.equals(other.name)) { return false; } return true; } }
DeviceCategory implements ReadableDeviceCategory, Serializable { @Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final DeviceCategory other = (DeviceCategory) obj; if (!category.equals(other.category)) { return false; } if (!icon.equals(other.icon)) { return false; } if (!infoUrl.equals(other.infoUrl)) { return false; } if (!name.equals(other.name)) { return false; } return true; } private  DeviceCategory();  DeviceCategory(@Nonnull final Category category, @Nonnull final String icon, @Nonnull final String infoUrl,
			@Nonnull final String name); }
DeviceCategory implements ReadableDeviceCategory, Serializable { @Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final DeviceCategory other = (DeviceCategory) obj; if (!category.equals(other.category)) { return false; } if (!icon.equals(other.icon)) { return false; } if (!infoUrl.equals(other.infoUrl)) { return false; } if (!name.equals(other.name)) { return false; } return true; } private  DeviceCategory();  DeviceCategory(@Nonnull final Category category, @Nonnull final String icon, @Nonnull final String infoUrl,
			@Nonnull final String name); @Override boolean equals(final Object obj); @Override @Nonnull Category getCategory(); @Override @Nonnull String getIcon(); @Override @Nonnull String getInfoUrl(); @Override @Nonnull String getName(); @Override int hashCode(); @Override String toString(); }
DeviceCategory implements ReadableDeviceCategory, Serializable { @Override public boolean equals(final Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final DeviceCategory other = (DeviceCategory) obj; if (!category.equals(other.category)) { return false; } if (!icon.equals(other.icon)) { return false; } if (!infoUrl.equals(other.infoUrl)) { return false; } if (!name.equals(other.name)) { return false; } return true; } private  DeviceCategory();  DeviceCategory(@Nonnull final Category category, @Nonnull final String icon, @Nonnull final String infoUrl,
			@Nonnull final String name); @Override boolean equals(final Object obj); @Override @Nonnull Category getCategory(); @Override @Nonnull String getIcon(); @Override @Nonnull String getInfoUrl(); @Override @Nonnull String getName(); @Override int hashCode(); @Override String toString(); static final DeviceCategory EMPTY; }