ch.qos.logback.core.subst.Node.equals()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(3.9k)|赞(0)|评价(0)|浏览(85)

本文整理了Java中ch.qos.logback.core.subst.Node.equals()方法的一些代码示例,展示了Node.equals()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Node.equals()方法的具体详情如下:
包路径:ch.qos.logback.core.subst.Node
类名称:Node
方法名:equals

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;
}

相关文章

微信公众号

最新文章

更多