in coap/src/main/java/org/apache/mina/coap/CoapMessage.java [336:380]
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
CoapMessage other = (CoapMessage) obj;
if (code != other.code) {
return false;
}
if (id != other.id) {
return false;
}
if (!Arrays.equals(options, other.options)) {
return false;
}
if (!Arrays.equals(payload, other.payload)) {
return false;
}
if (!Arrays.equals(token, other.token)) {
return false;
}
if (type != other.type) {
return false;
}
if (version != other.version) {
return false;
}
return true;
}