java.util.Deque.removeAll()方法的使用及代码示例

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

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

Deque.removeAll介绍

暂无

代码示例

代码示例来源:origin: btraceio/btrace

@Override
public synchronized boolean removeAll(Collection<?> c) {
  return delegate.removeAll(c);
}

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

@Override public boolean removeAll(Collection<?> collection) {
  return q.removeAll(collection);
}

代码示例来源:origin: google/guava

@Override
public boolean removeAll(Collection<?> collection) {
 assertTrue(Thread.holdsLock(mutex));
 return delegate.removeAll(collection);
}

代码示例来源:origin: org.springframework.boot/spring-boot

private void addIncludedProfiles(Set<Profile> includeProfiles) {
  LinkedList<Profile> existingProfiles = new LinkedList<>(this.profiles);
  this.profiles.clear();
  this.profiles.addAll(includeProfiles);
  this.profiles.removeAll(this.processedProfiles);
  this.profiles.addAll(existingProfiles);
}

代码示例来源:origin: google/guava

create().iterator();
create().remove("foo");
create().removeAll(ImmutableList.of("foo"));
create().retainAll(ImmutableList.of("foo"));
create().size();

代码示例来源:origin: 58code/Argo

public boolean removeAll(Collection<?> c)   {return q.removeAll(c);}
public boolean retainAll(Collection<?> c)   {return q.retainAll(c);}

代码示例来源:origin: com.aol.cyclops/cyclops-core

/**
 * @param c
 * @return
 * @see java.util.AbstractSet#removeAll(java.util.Collection)
 */
public boolean removeAll(Collection<?> c) {
  return deque.removeAll(c);
}

代码示例来源:origin: org.arakhne.afc.core/mathgraph

@Override
public void removeIterationElements(Collection<GraphIterationElement<ST, PT>> elements) {
  this.stack.removeAll(elements);
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

@Override public boolean removeAll(Collection<?> collection) {
  return q.removeAll(collection);
}

代码示例来源:origin: com.gluonhq/robovm-rt

@Override public boolean removeAll(Collection<?> collection) {
  return q.removeAll(collection);
}

代码示例来源:origin: FlexoVM/flexovm

@Override public boolean removeAll(Collection<?> collection) {
  return q.removeAll(collection);
}

代码示例来源:origin: MobiVM/robovm

@Override public boolean removeAll(Collection<?> collection) {
  return q.removeAll(collection);
}

代码示例来源:origin: ibinti/bugvm

@Override public boolean removeAll(Collection<?> collection) {
  return q.removeAll(collection);
}

代码示例来源:origin: com.jtransc/jtransc-rt

@Override public boolean removeAll(Collection<?> collection) {
  return q.removeAll(collection);
}

代码示例来源:origin: com.bugvm/bugvm-rt

@Override public boolean removeAll(Collection<?> collection) {
  return q.removeAll(collection);
}

代码示例来源:origin: org.gridkit.3rd.btrace/ext-collections

public synchronized boolean removeAll(Collection<?> c) {
  return delegate.removeAll(c);
}

代码示例来源:origin: JakeWharton/retrofit2-reactor-adapter

@Override public void dispose() {
  tasks.removeAll(workerTasks);
 }
};

代码示例来源:origin: com.google.guava/guava-tests

@Override
public boolean removeAll(Collection<?> collection) {
 assertTrue(Thread.holdsLock(mutex));
 return delegate.removeAll(collection);
}

代码示例来源:origin: openl-tablets/openl-tablets

private void checkTableAvailability() {
  List<VisitedTableWrapper> tableForRemove = new ArrayList<VisitedTableWrapper>();
  for (VisitedTableWrapper table : tables) {
    WebStudio studio = WebStudioUtils.getWebStudio();
    IOpenLTable refreshTable = studio.getModel().getTableById(table.getId());
    if (refreshTable == null) {
      tableForRemove.add(table);
    }
  }
  tables.removeAll(tableForRemove);
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio

private void checkTableAvailability() {
  List<VisitedTableWrapper> tableForRemove = new ArrayList<VisitedTableWrapper>();
  for (VisitedTableWrapper table : tables) {
    WebStudio studio = WebStudioUtils.getWebStudio();
    IOpenLTable refreshTable = studio.getModel().getTableById(table.getId());
    if (refreshTable == null) {
      tableForRemove.add(table);
    }
  }
  tables.removeAll(tableForRemove);
}

相关文章