List of usage examples for java.util Objects equals
public static boolean equals(Object a, Object b)
From source file:org.hawkular.client.metrics.model.MetricDefinition.java
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; MetricDefinition gauge = (MetricDefinition) o; return Objects.equals(id, gauge.id); }
From source file:com.github.fhuss.kafka.streams.cep.nfa.buffer.impl.StackEventKey.java
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; StackEventKey that = (StackEventKey) o; return partition == that.partition && offset == that.offset && Objects.equals(state, that.state) && Objects.equals(topic, that.topic); }
From source file:fi.otavanopisto.restfulptv.client.model.NotFound.java
@Override public boolean equals(java.lang.Object o) { if (this == o) { return true; }//w w w .ja v a 2 s. c o m if (o == null || getClass() != o.getClass()) { return false; } NotFound notFound = (NotFound) o; return Objects.equals(this.code, notFound.code) && Objects.equals(this.message, notFound.message); }
From source file:com.autodesk.client.model.JobPayloadOutput.java
@Override public boolean equals(java.lang.Object o) { if (this == o) { return true; }/*from w w w . j av a 2 s .c o m*/ if (o == null || getClass() != o.getClass()) { return false; } JobPayloadOutput jobPayloadOutput = (JobPayloadOutput) o; return Objects.equals(this.formats, jobPayloadOutput.formats); }
From source file:fi.otavanopisto.restfulptv.client.model.Forbidden.java
@Override public boolean equals(java.lang.Object o) { if (this == o) { return true; }//ww w.ja va 2 s . c om if (o == null || getClass() != o.getClass()) { return false; } Forbidden forbidden = (Forbidden) o; return Objects.equals(this.code, forbidden.code) && Objects.equals(this.message, forbidden.message); }
From source file:com.wrmsr.wava.core.unit.Locals.java
@Override public boolean equals(Object o) { if (this == o) { return true; }/*from ww w . ja va 2 s . c o m*/ if (o == null || getClass() != o.getClass()) { return false; } Locals locals = (Locals) o; return Objects.equals(list, locals.list); }
From source file:fi.otavanopisto.restfulptv.client.model.BadRequest.java
@Override public boolean equals(java.lang.Object o) { if (this == o) { return true; }//from w w w. j a v a 2 s. co m if (o == null || getClass() != o.getClass()) { return false; } BadRequest badRequest = (BadRequest) o; return Objects.equals(this.code, badRequest.code) && Objects.equals(this.message, badRequest.message); }
From source file:io.confluent.kafkarest.entities.BinaryConsumerRecord.java
@Override public boolean equals(Object o) { if (this == o) { return true; }//from w w w . jav a 2 s . c o m if (o == null || getClass() != o.getClass()) { return false; } BinaryConsumerRecord that = (BinaryConsumerRecord) o; return partition == that.partition && offset == that.offset && Objects.equals(topic, that.topic) && Arrays.equals(key, that.key) && Arrays.equals(value, that.value); }
From source file:com.linecorp.armeria.server.docs.MapInfo.java
@Override public boolean equals(Object o) { if (this == o) { return true; }/* w w w . j ava2 s.c om*/ if (o == null || getClass() != o.getClass()) { return false; } if (!super.equals(o)) { return false; } MapInfo mapInfo = (MapInfo) o; return Objects.equals(keyType, mapInfo.keyType) && Objects.equals(valueType, mapInfo.valueType); }
From source file:com.autodesk.client.model.RepairMeshParams.java
@Override public boolean equals(java.lang.Object o) { if (this == o) { return true; }/*from w w w . ja va 2 s . co m*/ if (o == null || getClass() != o.getClass()) { return false; } RepairMeshParams repairMeshParams = (RepairMeshParams) o; return Objects.equals(this.id, repairMeshParams.id) && Objects.equals(this.all, repairMeshParams.all); }