MCPcopy Index your code
hub / github.com/SavioAndres/BrasilAPI-Java / equals

Method equals

src/main/java/br/com/brasilapi/api/CPTEC.java:238–255  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

236 }
237
238 @Override
239 public boolean equals(Object obj) {
240 if (this == obj)
241 return true;
242 if (obj == null)
243 return false;
244 if (getClass() != obj.getClass())
245 return false;
246 CPTEC other = (CPTEC) obj;
247 return Objects.equals(atualizadoEm, other.atualizadoEm) && Objects.equals(cidade, other.cidade)
248 && Arrays.equals(clima, other.clima) && Objects.equals(codigoIcao, other.codigoIcao)
249 && Objects.equals(condicao, other.condicao) && Objects.equals(condicaoDesc, other.condicaoDesc)
250 && Objects.equals(direcaoVento, other.direcaoVento) && Objects.equals(estado, other.estado)
251 && Objects.equals(id, other.id) && Objects.equals(nome, other.nome) && Arrays.equals(ondas, other.ondas)
252 && Objects.equals(pressaoAtmosferica, other.pressaoAtmosferica) && Objects.equals(temp, other.temp)
253 && Objects.equals(umidade, other.umidade) && Objects.equals(vento, other.vento)
254 && Objects.equals(visibilidade, other.visibilidade);
255 }
256
257 @Override
258 public String toString() {

Callers 3

equalsMethod · 0.45
equalsMethod · 0.45
equalsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected