本文整理了Java中java.util.LinkedList.equals()
方法的一些代码示例,展示了LinkedList.equals()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LinkedList.equals()
方法的具体详情如下:
包路径:java.util.LinkedList
类名称:LinkedList
方法名:equals
暂无
代码示例来源:origin: hankcs/HanLP
@Override
public boolean equals(Object o)
{
return pipeList.equals(o);
}
代码示例来源:origin: spotbugs/spotbugs
@Override
public boolean equals(Object obj) {
if (obj == null || obj.getClass() != this.getClass()) {
return false;
}
UserPreferences other = (UserPreferences) obj;
return runAtFullBuild == other.runAtFullBuild && recentProjectsList.equals(other.recentProjectsList)
&& detectorEnablementMap.equals(other.detectorEnablementMap) && filterSettings.equals(other.filterSettings)
&& effort.equals(other.effort) && includeFilterFiles.equals(other.includeFilterFiles)
&& excludeFilterFiles.equals(other.excludeFilterFiles) && excludeBugsFiles.equals(other.excludeBugsFiles)
&& customPlugins.equals(other.customPlugins);
}
代码示例来源:origin: Sable/soot
@Override
public boolean equals(Object other) {
if (other instanceof SETNode == false) {
return false;
}
SETNode typed_other = (SETNode) other;
if (body.equals(typed_other.body) == false) {
return false;
}
if (subBodies.equals(typed_other.subBodies) == false) {
return false;
}
if (body2childChain.equals(typed_other.body2childChain) == false) {
return false;
}
return true;
}
代码示例来源:origin: apache/ignite
return false;
if (linkedList != null ? !linkedList.equals(obj.linkedList) : obj.linkedList != null)
return false;
代码示例来源:origin: protostuff/protostuff
return false;
else if (!linkedList.equals(other.linkedList))
return false;
if (list == null)
代码示例来源:origin: org.fitnesse/fitnesse
@Override
public boolean equals(Object o) {
if (o instanceof WikiPagePath) {
WikiPagePath that = (WikiPagePath) o;
return mode == that.mode && this.names.equals(that.names);
}
return false;
}
代码示例来源:origin: org.apache.oodt/oodt-commons
public boolean equals(Object rhs) {
if (rhs == this) {
return true;
}
if (rhs == null || !(rhs instanceof CacheMap)) {
return false;
}
CacheMap obj = (CacheMap) rhs;
return obj.cache.equals(cache);
}
代码示例来源:origin: org.apache.crunch/crunch-core
@Override
public boolean equals(Object other) {
if (other == null || !(other instanceof NodePath)) {
return false;
}
NodePath nodePath = (NodePath) other;
return path.equals(nodePath.path);
}
代码示例来源:origin: com.github.tcnh/fitnesse
@Override
public boolean equals(Object o) {
if (o instanceof WikiPagePath) {
WikiPagePath that = (WikiPagePath) o;
return mode == that.mode && this.names.equals(that.names);
}
return false;
}
代码示例来源:origin: com.fossgalaxy.games/fireworks
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof Deck)) return false;
Deck deck = (Deck) o;
return cards.equals(deck.cards);
}
代码示例来源:origin: cloudera/crunch
@Override
public boolean equals(Object other) {
if (other == null || !(other instanceof NodePath)) {
return false;
}
NodePath nodePath = (NodePath) other;
return path.equals(nodePath.path);
}
代码示例来源:origin: com.hankcs/hanlp
@Override
public boolean equals(Object o)
{
return pipeList.equals(o);
}
代码示例来源:origin: ahmetaa/zemberek-nlp
Log.info("%d sentences processed.", numExamples);
if (sentence.correctParse.equals(result.bestParse)) {
continue;
代码示例来源:origin: httl/httl
@Override
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null) return false;
if (getClass() != obj.getClass()) return false;
LinkedStack<?> other = (LinkedStack<?>) obj;
if (stack == null) {
if (other.stack != null) return false;
} else if (!stack.equals(other.stack)) return false;
return true;
}
代码示例来源:origin: org.infinispan/infinispan-embedded-query
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || o.getClass() != getClass()) return false;
PropertyPath<?> that = (PropertyPath<?>) o;
return nodes.equals(that.nodes);
}
代码示例来源:origin: com.datastax.oss/native-protocol
@Override
public boolean equals(Object other) {
if (other instanceof MockBinaryString) {
MockBinaryString that = (MockBinaryString) other;
return this.elements.equals(that.elements);
}
return false;
}
代码示例来源:origin: BaseXdb/basex
@Override
public boolean equals(final Object obj) {
if(this == obj) return true;
if(!(obj instanceof GFLWOR)) return false;
final GFLWOR g = (GFLWOR) obj;
return clauses.equals(g.clauses) && rtrn.equals(g.rtrn);
}
代码示例来源:origin: org.basex/basex
@Override
public boolean equals(final Object obj) {
if(this == obj) return true;
if(!(obj instanceof GFLWOR)) return false;
final GFLWOR g = (GFLWOR) obj;
return clauses.equals(g.clauses) && rtrn.equals(g.rtrn);
}
代码示例来源:origin: org.apache.openejb.patch/openjpa
@Override
public boolean equals(Object paramObject) {
if (!_directAccess && isDelayLoad()) {
load();
}
return super.equals(paramObject);
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
@Override
public boolean equals(Object paramObject) {
if (!_directAccess && isDelayLoad()) {
load();
}
return super.equals(paramObject);
}
内容来源于网络,如有侵权,请联系作者删除!