Examples of removeAll()


Examples of au.csiro.snorocket.core.util.IConceptSet.removeAll()

            }
            final IConceptSet set = data[i] = new SparseConceptHashSet();

            set.addAll(base[i]);
            if (null != relationships.data[i]) {
                set.removeAll(relationships.data[i]);
            }
        }
    }

    public boolean containsRole(int role) {
View Full Code Here

Examples of ch.njol.skript.aliases.ItemType.removeAll()

          if (mode == ChangeMode.ADD)
            is = t.addTo(is);
          else if (mode == ChangeMode.REMOVE)
            is = t.removeFrom(is);
          else
            is = t.removeAll(is);
        }
        break;
      case DELETE:
        is = null;
        if (i != null)
View Full Code Here

Examples of com.adobe.dp.epub.ncx.TOCEntry.removeAll()

    splitLargeChapters(100000);
  }

  public void generateTOCFromHeadings(int depth) {
    TOCEntry entry = getTOC().getRootTOCEntry();
    entry.removeAll();
    Iterator spine = spine();
    Stack headings = new Stack();
    headings.push(new TOCLevel(0, entry));
    while (spine.hasNext()) {
      Resource r = (Resource) spine.next();
View Full Code Here

Examples of com.alibaba.fastjson.JSONArray.removeAll()

        Assert.assertEquals(true, array.containsAll(Collections.singletonList(1)));
        Assert.assertEquals(true, array.remove(Integer.valueOf(1)));
        Assert.assertEquals(true, array.isEmpty());
        array.addAll(Collections.singletonList(1));
        Assert.assertEquals(1, array.size());
        array.removeAll(Collections.singletonList(1));
        Assert.assertEquals(0, array.size());
        array.addAll(0, Arrays.asList(1, 2, 3));
        Assert.assertEquals(3, array.size());
        array.clear();
        array.addAll(0, Arrays.asList(1, 2, 3));
View Full Code Here

Examples of com.carrotsearch.hppc.IntOpenHashSet.removeAll()

  private int[] getSpan(DEPNode pred, DEPNode arg)
  {
    IntOpenHashSet sArg = arg .getSubIdSet();
   
    if (pred.isDescendentOf(arg))
      sArg.removeAll(pred.getSubIdSet());     
   
    int[] span = sArg.toArray();
    return span;
  }
 
View Full Code Here

Examples of com.caucho.vfs.Path.removeAll()

      return L.l("'{0}' is an unknown controller", controller);

    try {
      Path root = Vfs.lookup(controller.getRootDirectory());

      root.removeAll();

      controller.stop();

      if (controller.destroy())
        return "undeployed";
View Full Code Here

Examples of com.clearnlp.util.list.SortedIntArrayList.removeAll()

          node = parent;
          height++;
        }
       
        lNew.add(new PBLoc(terminalId, height, ","));
        ids.removeAll(node.getSubTerminalIdSet());
      }
     
      if (lNew.size() < arg.getLocSize())
      {
        lNew.get(0).type = "";
View Full Code Here

Examples of com.cloudera.cdk.morphline.api.Record.removeAll()

  }
 
  private ListMultimap<String, Object> next(Iterator<SolrDocument> iter) {
    SolrDocument doc = iter.next();
    Record record = toRecord(doc);
    record.removeAll("_version_"); // the values of this field are unknown and internal to solr
    return record.getFields();   
  }
 
  private Record toRecord(SolrDocument doc) {
    Record record = new Record();
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.ContentPanel.removeAll()

    ToolBar toolBar = new ToolBar();
    toolBar.add(new Button("Apply Template", new SelectionListener<ButtonEvent>() {
      @Override
      public void componentSelected(ButtonEvent ce) {
        XTemplate tpl = XTemplate.create(getTemplate());
        xpanel.removeAll();
        xpanel.addText(tpl.applyTemplate(Util.getJsObject(person, 3)));
        xpanel.layout();
      }
    }));
    xpanel.setTopComponent(toolBar);
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.LayoutContainer.removeAll()

  @Override
  protected void handleEvent(AppEvent event) {
    if (event.getType() == AppEvents.NavMail) {
      LayoutContainer wrapper = (LayoutContainer) Registry.get(AppView.CENTER_PANEL);
      wrapper.removeAll();
      wrapper.add(container);
      wrapper.layout();
      return;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.