+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+ if (getClass() != obj.getClass())
+ return false;
+ Host other = (Host) obj;
+ if (dataLayerAddress == null) {
+ if (other.dataLayerAddress != null)
+ return false;
+ } else if (!dataLayerAddress.equals(other.dataLayerAddress))
+ return false;
+ if (networkAddress == null) {
+ if (other.networkAddress != null)
+ return false;
+ } else if (!networkAddress.equals(other.networkAddress))
+ return false;
+ return true;