java.util.LinkedList.equals()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(4.7k)|赞(0)|评价(0)|浏览(279)

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

LinkedList.equals介绍

暂无

代码示例

代码示例来源:origin: hankcs/HanLP

  1. @Override
  2. public boolean equals(Object o)
  3. {
  4. return pipeList.equals(o);
  5. }

代码示例来源:origin: spotbugs/spotbugs

  1. @Override
  2. public boolean equals(Object obj) {
  3. if (obj == null || obj.getClass() != this.getClass()) {
  4. return false;
  5. }
  6. UserPreferences other = (UserPreferences) obj;
  7. return runAtFullBuild == other.runAtFullBuild && recentProjectsList.equals(other.recentProjectsList)
  8. && detectorEnablementMap.equals(other.detectorEnablementMap) && filterSettings.equals(other.filterSettings)
  9. && effort.equals(other.effort) && includeFilterFiles.equals(other.includeFilterFiles)
  10. && excludeFilterFiles.equals(other.excludeFilterFiles) && excludeBugsFiles.equals(other.excludeBugsFiles)
  11. && customPlugins.equals(other.customPlugins);
  12. }

代码示例来源:origin: Sable/soot

  1. @Override
  2. public boolean equals(Object other) {
  3. if (other instanceof SETNode == false) {
  4. return false;
  5. }
  6. SETNode typed_other = (SETNode) other;
  7. if (body.equals(typed_other.body) == false) {
  8. return false;
  9. }
  10. if (subBodies.equals(typed_other.subBodies) == false) {
  11. return false;
  12. }
  13. if (body2childChain.equals(typed_other.body2childChain) == false) {
  14. return false;
  15. }
  16. return true;
  17. }

代码示例来源:origin: apache/ignite

  1. return false;
  2. if (linkedList != null ? !linkedList.equals(obj.linkedList) : obj.linkedList != null)
  3. return false;

代码示例来源:origin: protostuff/protostuff

  1. return false;
  2. else if (!linkedList.equals(other.linkedList))
  3. return false;
  4. if (list == null)

代码示例来源:origin: org.fitnesse/fitnesse

  1. @Override
  2. public boolean equals(Object o) {
  3. if (o instanceof WikiPagePath) {
  4. WikiPagePath that = (WikiPagePath) o;
  5. return mode == that.mode && this.names.equals(that.names);
  6. }
  7. return false;
  8. }

代码示例来源:origin: org.apache.oodt/oodt-commons

  1. public boolean equals(Object rhs) {
  2. if (rhs == this) {
  3. return true;
  4. }
  5. if (rhs == null || !(rhs instanceof CacheMap)) {
  6. return false;
  7. }
  8. CacheMap obj = (CacheMap) rhs;
  9. return obj.cache.equals(cache);
  10. }

代码示例来源:origin: org.apache.crunch/crunch-core

  1. @Override
  2. public boolean equals(Object other) {
  3. if (other == null || !(other instanceof NodePath)) {
  4. return false;
  5. }
  6. NodePath nodePath = (NodePath) other;
  7. return path.equals(nodePath.path);
  8. }

代码示例来源:origin: com.github.tcnh/fitnesse

  1. @Override
  2. public boolean equals(Object o) {
  3. if (o instanceof WikiPagePath) {
  4. WikiPagePath that = (WikiPagePath) o;
  5. return mode == that.mode && this.names.equals(that.names);
  6. }
  7. return false;
  8. }

代码示例来源:origin: com.fossgalaxy.games/fireworks

  1. @Override
  2. public boolean equals(Object o) {
  3. if (this == o) return true;
  4. if (!(o instanceof Deck)) return false;
  5. Deck deck = (Deck) o;
  6. return cards.equals(deck.cards);
  7. }

代码示例来源:origin: cloudera/crunch

  1. @Override
  2. public boolean equals(Object other) {
  3. if (other == null || !(other instanceof NodePath)) {
  4. return false;
  5. }
  6. NodePath nodePath = (NodePath) other;
  7. return path.equals(nodePath.path);
  8. }

代码示例来源:origin: com.hankcs/hanlp

  1. @Override
  2. public boolean equals(Object o)
  3. {
  4. return pipeList.equals(o);
  5. }

代码示例来源:origin: ahmetaa/zemberek-nlp

  1. Log.info("%d sentences processed.", numExamples);
  2. if (sentence.correctParse.equals(result.bestParse)) {
  3. continue;

代码示例来源:origin: httl/httl

  1. @Override
  2. public boolean equals(Object obj) {
  3. if (this == obj) return true;
  4. if (obj == null) return false;
  5. if (getClass() != obj.getClass()) return false;
  6. LinkedStack<?> other = (LinkedStack<?>) obj;
  7. if (stack == null) {
  8. if (other.stack != null) return false;
  9. } else if (!stack.equals(other.stack)) return false;
  10. return true;
  11. }

代码示例来源:origin: org.infinispan/infinispan-embedded-query

  1. @Override
  2. public boolean equals(Object o) {
  3. if (this == o) return true;
  4. if (o == null || o.getClass() != getClass()) return false;
  5. PropertyPath<?> that = (PropertyPath<?>) o;
  6. return nodes.equals(that.nodes);
  7. }

代码示例来源:origin: com.datastax.oss/native-protocol

  1. @Override
  2. public boolean equals(Object other) {
  3. if (other instanceof MockBinaryString) {
  4. MockBinaryString that = (MockBinaryString) other;
  5. return this.elements.equals(that.elements);
  6. }
  7. return false;
  8. }

代码示例来源:origin: BaseXdb/basex

  1. @Override
  2. public boolean equals(final Object obj) {
  3. if(this == obj) return true;
  4. if(!(obj instanceof GFLWOR)) return false;
  5. final GFLWOR g = (GFLWOR) obj;
  6. return clauses.equals(g.clauses) && rtrn.equals(g.rtrn);
  7. }

代码示例来源:origin: org.basex/basex

  1. @Override
  2. public boolean equals(final Object obj) {
  3. if(this == obj) return true;
  4. if(!(obj instanceof GFLWOR)) return false;
  5. final GFLWOR g = (GFLWOR) obj;
  6. return clauses.equals(g.clauses) && rtrn.equals(g.rtrn);
  7. }

代码示例来源:origin: org.apache.openejb.patch/openjpa

  1. @Override
  2. public boolean equals(Object paramObject) {
  3. if (!_directAccess && isDelayLoad()) {
  4. load();
  5. }
  6. return super.equals(paramObject);
  7. }

代码示例来源:origin: org.apache.openjpa/openjpa-all

  1. @Override
  2. public boolean equals(Object paramObject) {
  3. if (!_directAccess && isDelayLoad()) {
  4. load();
  5. }
  6. return super.equals(paramObject);
  7. }

相关文章