本文整理了Java中java.util.Vector.containsAll()
方法的一些代码示例,展示了Vector.containsAll()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Vector.containsAll()
方法的具体详情如下:
包路径:java.util.Vector
类名称:Vector
方法名:containsAll
[英]Searches this vector for all objects in the specified collection.
[中]在该向量中搜索指定集合中的所有对象。
代码示例来源:origin: org.osgi/org.osgi.compendium
private void init() {
actionsVector = actionsVector(actions);
if (actions.equals("*"))
actionsVector = actionsVector(LIFECYCLE_ACTION + "," + SCHEDULE_ACTION + "," + LOCK_ACTION);
else
if (!ACTIONS.containsAll(actionsVector))
throw new IllegalArgumentException("Illegal action!");
applicationID = null;
}
代码示例来源:origin: org.osgi/org.osgi.compendium
if (!actionsVector.containsAll(other.actionsVector))
return false;
代码示例来源:origin: xalan/xalan
final TopLevelElement vde = (TopLevelElement) input.elementAt(i);
final Vector dep = vde.getDependencies();
if (dep == null || result.containsAll(dep)) {
result.addElement(vde);
input.remove(i);
代码示例来源:origin: org.apache.felix/org.osgi.compendium
private void init() {
actionsVector = actionsVector( actions );
if ( actions.equals("*") )
actionsVector = actionsVector( LIFECYCLE_ACTION + "," + SCHEDULE_ACTION + "," + LOCK_ACTION );
else if (!ACTIONS.containsAll(actionsVector))
throw new IllegalArgumentException("Illegal action!");
applicationID = null;
}
代码示例来源:origin: org.apache.felix/org.osgi.compendium
if( !actionsVector.containsAll( other.actionsVector ) )
return false;
代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core
/**
* @see java.util.Vector#containsAll(java.util.Collection)
*/
@Override
public boolean containsAll(Collection<?> c) {
return getDelegate().containsAll(c);
}
代码示例来源:origin: com.haulmont.thirdparty/eclipselink
/**
* @see java.util.Vector#containsAll(java.util.Collection)
*/
@Override
public boolean containsAll(Collection<?> c) {
return getDelegate().containsAll(c);
}
代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence
/**
* @see java.util.Vector#containsAll(java.util.Collection)
*/
public boolean containsAll(Collection c) {
return getDelegate().containsAll(c);
}
代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core
/**
* If it does not contain the object must wait until it is complete.
*/
public synchronized boolean containsAll(Collection collection) {
boolean result = super.containsAll(collection);
if ((result != true) && (!isComplete())) {
waitUntilComplete();
result = super.containsAll(collection);
}
return result;
}
代码示例来源:origin: org.osgi/osgi.cmpn
private void init() {
actionsVector = actionsVector(actions);
if (actions.equals("*"))
actionsVector = actionsVector(LIFECYCLE_ACTION + "," + SCHEDULE_ACTION + "," + LOCK_ACTION);
else
if (!ACTIONS.containsAll(actionsVector))
throw new IllegalArgumentException("Illegal action!");
applicationID = null;
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.equinox.app
private void init() {
actionsVector = actionsVector( actions );
if ( actions.equals("*") )
actionsVector = actionsVector( LIFECYCLE_ACTION + "," + SCHEDULE_ACTION + "," + LOCK_ACTION );
else if (!ACTIONS.containsAll(actionsVector))
throw new IllegalArgumentException("Illegal action!");
applicationID = null;
}
代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby
private void init() {
actionsVector = actionsVector(actions);
if (actions.equals("*"))
actionsVector = actionsVector(LIFECYCLE_ACTION + "," + SCHEDULE_ACTION + "," + LOCK_ACTION);
else
if (!ACTIONS.containsAll(actionsVector))
throw new IllegalArgumentException("Illegal action!");
applicationID = null;
}
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics
private void init() {
actionsVector = actionsVector( actions );
if ( actions.equals("*") )
actionsVector = actionsVector( LIFECYCLE_ACTION + "," + SCHEDULE_ACTION + "," + LOCK_ACTION );
else if (!ACTIONS.containsAll(actionsVector))
throw new IllegalArgumentException("Illegal action!");
applicationID = null;
}
代码示例来源:origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger
private void init() {
actionsVector = actionsVector(actions);
if (actions.equals("*"))
actionsVector = actionsVector(LIFECYCLE_ACTION + "," + SCHEDULE_ACTION + "," + LOCK_ACTION);
else
if (!ACTIONS.containsAll(actionsVector))
throw new IllegalArgumentException("Illegal action!");
applicationID = null;
}
代码示例来源:origin: com.github.veithen.cosmos.bootstrap/org.eclipse.equinox.app
private void init() {
actionsVector = actionsVector( actions );
if ( actions.equals("*") )
actionsVector = actionsVector( LIFECYCLE_ACTION + "," + SCHEDULE_ACTION + "," + LOCK_ACTION );
else if (!ACTIONS.containsAll(actionsVector))
throw new IllegalArgumentException("Illegal action!");
applicationID = null;
}
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby
private void init() {
actionsVector = actionsVector( actions );
if ( actions.equals("*") )
actionsVector = actionsVector( LIFECYCLE_ACTION + "," + SCHEDULE_ACTION + "," + LOCK_ACTION );
else if (!ACTIONS.containsAll(actionsVector))
throw new IllegalArgumentException("Illegal action!");
applicationID = null;
}
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
@Override
public synchronized boolean containsAll(Collection collection) {
if (!_directAccess && isDelayLoad()) {
load();
}
return super.containsAll(collection);
}
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
@Override
public synchronized boolean containsAll(Collection collection) {
if (!_directAccess && isDelayLoad()) {
load();
}
return super.containsAll(collection);
}
代码示例来源:origin: org.apache.openejb.patch/openjpa
@Override
public synchronized boolean containsAll(Collection collection) {
if (!_directAccess && isDelayLoad()) {
load();
}
return super.containsAll(collection);
}
代码示例来源:origin: octo-online/reactive-audit
@Test(expected = ReactiveAuditException.class)
public void containsAll()
{
ReactiveAudit.off.commit();
Vector vector=new Vector();
TestTools.strict.commit();
vector.containsAll(null);
}
@Test(expected = ReactiveAuditException.class)
内容来源于网络,如有侵权,请联系作者删除!