本文整理了Java中java.util.LinkedList.containsAll()
方法的一些代码示例,展示了LinkedList.containsAll()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LinkedList.containsAll()
方法的具体详情如下:
包路径:java.util.LinkedList
类名称:LinkedList
方法名:containsAll
暂无
代码示例来源:origin: hankcs/HanLP
@Override
public boolean containsAll(Collection<?> c)
{
return pipeList.containsAll(c);
}
代码示例来源:origin: spotbugs/spotbugs
@ExpectWarning("GC_UNRELATED_TYPES")
static boolean test4(HashSet<Integer> s, LinkedList<String> lst) {
return s.containsAll(lst) && lst.containsAll(s);
}
代码示例来源:origin: spotbugs/spotbugs
@NoWarning("GC_UNRELATED_TYPES")
static boolean test2(HashSet<Integer> s, LinkedList<Integer> lst) {
return s.containsAll(lst) && lst.containsAll(s);
}
代码示例来源:origin: org.infinispan/infinispan-embedded-query
/**
* @see List#containsAll(Collection)
*/
@Override
public boolean containsAll(Collection<?> c) {
return this.processors.containsAll(c);
}
代码示例来源:origin: com.hankcs/hanlp
@Override
public boolean containsAll(Collection<?> c)
{
return pipeList.containsAll(c);
}
代码示例来源:origin: org.restlet.jee/org.restlet.ext.jaxrs
/**
* @see java.util.Collection#containsAll(java.util.Collection)
*/
public boolean containsAll(Collection<?> c) {
return this.elements.containsAll(c);
}
代码示例来源:origin: harbby/presto-connectors
/**
* @see List#containsAll(Collection)
*/
@Override
public boolean containsAll(Collection<?> c) {
return this.processors.containsAll(c);
}
代码示例来源:origin: it.unibo.alice.tuprolog/tuprolog
@Override
public boolean containsAll(Collection<?> c) {
return list.containsAll(c);
}
代码示例来源:origin: org.jboss.gwt.circuit/circuit-core
@Override
public boolean containsAll(Collection<?> c) {
return list.containsAll(c);
}
代码示例来源:origin: org.drools/droolsjbpm-ide-common
public boolean containsAll(Collection< ? > c) {
return entries.containsAll( c );
}
代码示例来源:origin: org.chtijbug.drools/droolsjbpm-ide-common
public boolean containsAll(Collection< ? > c) {
return entries.containsAll( c );
}
代码示例来源:origin: fr.lirmm.graphik/graal-core
@Override
public boolean containsAll(Collection<?> c) {
return this.ruleList.containsAll(c);
}
代码示例来源:origin: fr.lirmm.graphik/graal-util
@Override
public boolean containsAll(Collection<?> c) {
return list.containsAll(c);
}
代码示例来源:origin: FeatureIDE/FeatureIDE
private void add(LinkedList<LinkedList<Node>> clauses, LinkedList<Node> newClause) {
for (final LinkedList<Node> clause : clauses) {
if (newClause.containsAll(clause)) {
return;
}
}
clauses.add(newClause);
}
代码示例来源:origin: FeatureIDE/FeatureIDE
private void add(LinkedList<LinkedList<Node>> clauses, LinkedList<Node> newClause) {
for (final LinkedList<Node> clause : clauses) {
if (newClause.containsAll(clause)) {
return;
}
}
clauses.add(newClause);
}
代码示例来源:origin: org.eclipse.net4j/util
@Override
public boolean containsAll(Collection<?> c)
{
try
{
lock.readLock().lock();
return super.containsAll(c);
}
finally
{
lock.readLock().unlock();
}
}
代码示例来源:origin: org.apache.openejb.patch/openjpa
@Override
public boolean containsAll(Collection c) {
if (!_directAccess && isDelayLoad()) {
load();
}
return super.containsAll(c);
}
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
@Override
public boolean containsAll(Collection c) {
if (!_directAccess && isDelayLoad()) {
load();
}
return super.containsAll(c);
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
@Override
public boolean containsAll(Collection c) {
if (!_directAccess && isDelayLoad()) {
load();
}
return super.containsAll(c);
}
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
@Override
public boolean containsAll(Collection c) {
if (!_directAccess && isDelayLoad()) {
load();
}
return super.containsAll(c);
}
内容来源于网络,如有侵权,请联系作者删除!