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

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

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

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

相关文章

微信公众号

最新文章

更多