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