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

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

本文整理了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

Node.equals介绍

暂无

代码示例

代码示例来源:origin: camunda/camunda-bpm-platform

  1. public boolean equals(Object o) {
  2. if (this == o) {
  3. return true;
  4. }
  5. if (!(o instanceof Node)) {
  6. return false;
  7. }
  8. Node r = (Node) o;
  9. return (type == r.type)
  10. && (value != null ? value.equals(r.value) : r.value == null)
  11. && (next != null ? next.equals(r.next) : r.next == null);
  12. }

代码示例来源:origin: camunda/camunda-bpm-platform

  1. public boolean equals(Object o) {
  2. if (!super.equals(o)) {
  3. return false;
  4. }
  5. if(!(o instanceof FormattingNode)) {
  6. return false;
  7. }
  8. FormattingNode r = (FormattingNode) o;
  9. return (formatInfo != null ? formatInfo.equals(r.formatInfo)
  10. : r.formatInfo == null);
  11. }

代码示例来源:origin: camunda/camunda-bpm-platform

  1. public boolean equals(Object o) {
  2. if(!super.equals(o)) {
  3. return false;
  4. }
  5. if (!(o instanceof CompositeNode)) {
  6. return false;
  7. }
  8. CompositeNode r = (CompositeNode) o;
  9. return (childNode != null) ? childNode.equals(r.childNode)
  10. : (r.childNode == null);
  11. }

代码示例来源:origin: tony19/logback-android

  1. public boolean equals(Object o) {
  2. if (this == o) {
  3. return true;
  4. }
  5. if (!(o instanceof Node)) {
  6. return false;
  7. }
  8. Node r = (Node) o;
  9. return (type == r.type)
  10. && (value != null ? value.equals(r.value) : r.value == null)
  11. && (next != null ? next.equals(r.next) : r.next == null);
  12. }

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

  1. public boolean equals(Object o) {
  2. if (this == o) {
  3. return true;
  4. }
  5. if (!(o instanceof Node)) {
  6. return false;
  7. }
  8. Node r = (Node) o;
  9. return (type == r.type) && (value != null ? value.equals(r.value) : r.value == null) && (next != null ? next.equals(r.next) : r.next == null);
  10. }

代码示例来源:origin: com.hynnet/logback-core

  1. public boolean equals(Object o) {
  2. if (this == o) {
  3. return true;
  4. }
  5. if (!(o instanceof Node)) {
  6. return false;
  7. }
  8. Node r = (Node) o;
  9. return (type == r.type)
  10. && (value != null ? value.equals(r.value) : r.value == null)
  11. && (next != null ? next.equals(r.next) : r.next == null);
  12. }

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/ch.qos.logback.core

  1. public boolean equals(Object o) {
  2. if (this == o) {
  3. return true;
  4. }
  5. if (!(o instanceof Node)) {
  6. return false;
  7. }
  8. Node r = (Node) o;
  9. return (type == r.type)
  10. && (value != null ? value.equals(r.value) : r.value == null)
  11. && (next != null ? next.equals(r.next) : r.next == null);
  12. }

代码示例来源:origin: Nextdoor/bender

  1. public boolean equals(Object o) {
  2. if (this == o) {
  3. return true;
  4. }
  5. if (!(o instanceof Node)) {
  6. return false;
  7. }
  8. Node r = (Node) o;
  9. return (type == r.type) && (value != null ? value.equals(r.value) : r.value == null) && (next != null ? next.equals(r.next) : r.next == null);
  10. }

代码示例来源:origin: tony19/logback-android

  1. public boolean equals(Object o) {
  2. if(!super.equals(o)) {
  3. return false;
  4. }
  5. if (!(o instanceof CompositeNode)) {
  6. return false;
  7. }
  8. CompositeNode r = (CompositeNode) o;
  9. return (childNode != null) ? childNode.equals(r.childNode)
  10. : (r.childNode == null);
  11. }

代码示例来源:origin: tony19/logback-android

  1. public boolean equals(Object o) {
  2. if (!super.equals(o)) {
  3. return false;
  4. }
  5. if(!(o instanceof FormattingNode)) {
  6. return false;
  7. }
  8. FormattingNode r = (FormattingNode) o;
  9. return (formatInfo != null ? formatInfo.equals(r.formatInfo)
  10. : r.formatInfo == null);
  11. }

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/ch.qos.logback.core

  1. public boolean equals(Object o) {
  2. //System.out.println("CompositeNode.equals()");
  3. if(!super.equals(o)) {
  4. return false;
  5. }
  6. if (!(o instanceof CompositeNode)) {
  7. return false;
  8. }
  9. CompositeNode r = (CompositeNode) o;
  10. return (childNode != null) ? childNode.equals(r.childNode)
  11. : (r.childNode == null);
  12. }

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

  1. public boolean equals(Object o) {
  2. if (!super.equals(o)) {
  3. return false;
  4. }
  5. if (!(o instanceof CompositeNode)) {
  6. return false;
  7. }
  8. CompositeNode r = (CompositeNode) o;
  9. return (childNode != null) ? childNode.equals(r.childNode) : (r.childNode == null);
  10. }

代码示例来源:origin: io.virtdata/virtdata-lib-realer

  1. public boolean equals(Object o) {
  2. if (!super.equals(o)) {
  3. return false;
  4. }
  5. if (!(o instanceof FormattingNode)) {
  6. return false;
  7. }
  8. FormattingNode r = (FormattingNode) o;
  9. return (formatInfo != null ? formatInfo.equals(r.formatInfo) : r.formatInfo == null);
  10. }

代码示例来源:origin: com.hynnet/logback-core

  1. public boolean equals(Object o) {
  2. if (!super.equals(o)) {
  3. return false;
  4. }
  5. if(!(o instanceof FormattingNode)) {
  6. return false;
  7. }
  8. FormattingNode r = (FormattingNode) o;
  9. return (formatInfo != null ? formatInfo.equals(r.formatInfo)
  10. : r.formatInfo == null);
  11. }

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/ch.qos.logback.core

  1. public boolean equals(Object o) {
  2. if (!super.equals(o)) {
  3. return false;
  4. }
  5. if(!(o instanceof FormattingNode)) {
  6. return false;
  7. }
  8. FormattingNode r = (FormattingNode) o;
  9. return (formatInfo != null ? formatInfo.equals(r.formatInfo)
  10. : r.formatInfo == null);
  11. }
  12. }

代码示例来源:origin: io.virtdata/virtdata-lib-realer

  1. public boolean equals(Object o) {
  2. if (!super.equals(o)) {
  3. return false;
  4. }
  5. if (!(o instanceof CompositeNode)) {
  6. return false;
  7. }
  8. CompositeNode r = (CompositeNode) o;
  9. return (childNode != null) ? childNode.equals(r.childNode) : (r.childNode == null);
  10. }

代码示例来源:origin: Nextdoor/bender

  1. public boolean equals(Object o) {
  2. if (!super.equals(o)) {
  3. return false;
  4. }
  5. if (!(o instanceof FormattingNode)) {
  6. return false;
  7. }
  8. FormattingNode r = (FormattingNode) o;
  9. return (formatInfo != null ? formatInfo.equals(r.formatInfo) : r.formatInfo == null);
  10. }

代码示例来源:origin: ch.qos.logback/core

  1. public boolean equals(Object o) {
  2. if (!super.equals(o)) {
  3. return false;
  4. }
  5. if(!(o instanceof FormattingNode)) {
  6. return false;
  7. }
  8. FormattingNode r = (FormattingNode) o;
  9. return (formatInfo != null ? formatInfo.equals(r.formatInfo)
  10. : r.formatInfo == null);
  11. }
  12. }

代码示例来源:origin: ch.qos.logback/core

  1. public boolean equals(Object o) {
  2. //System.out.println("CompositeNode.equals()");
  3. if(!super.equals(o)) {
  4. return false;
  5. }
  6. if (!(o instanceof CompositeNode)) {
  7. return false;
  8. }
  9. CompositeNode r = (CompositeNode) o;
  10. return (childNode != null) ? childNode.equals(r.childNode)
  11. : (r.childNode == null);
  12. }

代码示例来源:origin: Nextdoor/bender

  1. public boolean equals(Object o) {
  2. if (!super.equals(o)) {
  3. return false;
  4. }
  5. if (!(o instanceof CompositeNode)) {
  6. return false;
  7. }
  8. CompositeNode r = (CompositeNode) o;
  9. return (childNode != null) ? childNode.equals(r.childNode) : (r.childNode == null);
  10. }

相关文章