@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; DMRNodeLocation other = (DMRNodeLocation) obj; if (pathAddress == null) { if (other.pathAddress != null) return false; } else if (!pathAddress.equals(other.pathAddress)) return false; return true; }
public boolean isSame(Model model) { if (this == model) { return true; } if (address != null ? !address.equals(model.address) : model.address != null) { return false; } if (attributes != null ? !attributes.equals(model.attributes) : model.attributes != null) { return false; } if (children != null ? !children.equals(model.children) : model.children != null) { return false; } return true; }
boolean isVersionLevel() { return rootAddress.equals(pathAddress); }
private boolean isExcludeAddress(PathAddress pathAddress) { return pathAddress.equals(CORE_SERVICE_PLATFORM_MBEAN); }