本文整理了Java中ch.qos.logback.core.subst.Node.equals()
方法的一些代码示例,展示了Node.equals()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Node.equals()
方法的具体详情如下:
包路径:ch.qos.logback.core.subst.Node
类名称:Node
方法名:equals
暂无
代码示例来源:origin: camunda/camunda-bpm-platform
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Node node = (Node) o;
if (type != node.type) return false;
if (payload != null ? !payload.equals(node.payload) : node.payload != null) return false;
if (defaultPart != null ? !defaultPart.equals(node.defaultPart) : node.defaultPart != null) return false;
if (next != null ? !next.equals(node.next) : node.next != null) return false;
return true;
}
代码示例来源:origin: tony19/logback-android
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Node node = (Node) o;
if (type != node.type) return false;
if (payload != null ? !payload.equals(node.payload) : node.payload != null) return false;
if (defaultPart != null ? !defaultPart.equals(node.defaultPart) : node.defaultPart != null) return false;
if (next != null ? !next.equals(node.next) : node.next != null) return false;
return true;
}
代码示例来源:origin: ch.qos.logback/core
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Node node = (Node) o;
if (type != node.type) return false;
if (payload != null ? !payload.equals(node.payload) : node.payload != null) return false;
if (defaultPart != null ? !defaultPart.equals(node.defaultPart) : node.defaultPart != null) return false;
if (next != null ? !next.equals(node.next) : node.next != null) return false;
return true;
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/ch.qos.logback.core
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Node node = (Node) o;
if (type != node.type) return false;
if (payload != null ? !payload.equals(node.payload) : node.payload != null) return false;
if (defaultPart != null ? !defaultPart.equals(node.defaultPart) : node.defaultPart != null) return false;
if (next != null ? !next.equals(node.next) : node.next != null) return false;
return true;
}
代码示例来源:origin: com.hynnet/logback-core
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Node node = (Node) o;
if (type != node.type) return false;
if (payload != null ? !payload.equals(node.payload) : node.payload != null) return false;
if (defaultPart != null ? !defaultPart.equals(node.defaultPart) : node.defaultPart != null) return false;
if (next != null ? !next.equals(node.next) : node.next != null) return false;
return true;
}
代码示例来源:origin: Nextdoor/bender
@Override
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || getClass() != o.getClass())
return false;
Node node = (Node) o;
if (type != node.type)
return false;
if (payload != null ? !payload.equals(node.payload) : node.payload != null)
return false;
if (defaultPart != null ? !defaultPart.equals(node.defaultPart) : node.defaultPart != null)
return false;
if (next != null ? !next.equals(node.next) : node.next != null)
return false;
return true;
}
代码示例来源:origin: io.virtdata/virtdata-lib-realer
@Override
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || getClass() != o.getClass())
return false;
Node node = (Node) o;
if (type != node.type)
return false;
if (payload != null ? !payload.equals(node.payload) : node.payload != null)
return false;
if (defaultPart != null ? !defaultPart.equals(node.defaultPart) : node.defaultPart != null)
return false;
if (next != null ? !next.equals(node.next) : node.next != null)
return false;
return true;
}
代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded
@Override
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || getClass() != o.getClass())
return false;
Node node = (Node) o;
if (type != node.type)
return false;
if (payload != null ? !payload.equals(node.payload) : node.payload != null)
return false;
if (defaultPart != null ? !defaultPart.equals(node.defaultPart) : node.defaultPart != null)
return false;
if (next != null ? !next.equals(node.next) : node.next != null)
return false;
return true;
}
内容来源于网络,如有侵权,请联系作者删除!