Examples of toIntArray()


Examples of it.unimi.dsi.fastutil.ints.IntOpenHashSet.toIntArray()

    }
   
    public int[] convert(FacetDataCache dataCache, String[] vals) {
      IntSet intSet = new IntOpenHashSet();
        getFilters(dataCache,intSet,vals, _depth, _strict);
        return intSet.toIntArray();
    }
   
  }
 
 
View Full Code Here

Examples of it.unimi.dsi.fastutil.ints.IntRBTreeSet.toIntArray()

    for (int i : set1)
    {
      set2.add(i);
    }
   
    int[] set3 = set1.toIntArray();
    Arrays.sort(set3);
   
    BitSet set4 = new BitSet();
    for (int i : set1)
    {
View Full Code Here

Examples of it.unimi.dsi.fastutil.ints.IntRBTreeSet.toIntArray()

        {
          idSet.add(docid);
          }
        }
    }
      return idSet.toIntArray();
  }
   
  @Override
  public DocIdSetIterator iterator() {
    return new DocIdSetIterator(){
View Full Code Here

Examples of it.unimi.dsi.fastutil.ints.IntSet.toIntArray()

        if (!idSet.contains(docid) && !reader.isDeleted(docid)) {
          idSet.add(docid);
        }
      }

      docsToFetch = idSet.toIntArray();
    }

    @Override
    public void run() {
      for (int i = 0; i < _numIter; ++i) {
View Full Code Here

Examples of it.unimi.dsi.fastutil.ints.IntSet.toIntArray()

    }
   
    public int[] convert(FacetDataCache dataCache, String[] vals) {
      IntSet intSet = new IntOpenHashSet();
        getFilters(dataCache,intSet,vals, _depth, _strict);
        return intSet.toIntArray();
    }
   
  }
 
 
View Full Code Here

Examples of net.tomp2p.peers.Number160.toIntArray()

     * @return The complete key
     */
    //CHECKSTYLE:OFF
    private static Number160 createNr(final String key1, final int nr) {
        Number160 firstKey = Number160.createHash(key1);
        int[] val = firstKey.toIntArray();
        val[0] = val[0] ^ val[4] ^ val[3] ^ val[2];
        val[1] = val[1] ^ val[4] ^ val[3] ^ val[2];
        val[2] = nr;
        val[3] = nr;
        val[4] = nr;
View Full Code Here

Examples of org.apache.xalan.xsltc.util.IntegerArray.toIntArray()

      final IntegerArray list = new IntegerArray();
      int node;
      while ((node = iter.next()) != NodeIterator.END) {
    list.add(node);
      }        
      _nodes = list.toIntArray();        
  }

  public int getLength() {
      return _nodes.length;
  }
View Full Code Here

Examples of org.apache.xalan.xsltc.util.IntegerArray.toIntArray()

        final IntegerArray attributes = new IntegerArray(4);
        do {
      attributes.add(attribute);
        }
        while ((attribute = _nextSibling[attribute]) != 0);
        return new NamedNodeMapImpl(attributes.toIntArray());
    }
    else {
        return getEmptyNamedNodeMap();
    }
      }
View Full Code Here

Examples of org.apache.xalan.xsltc.util.IntegerArray.toIntArray()

    int child = _offsetOrChild[_index];
    do {
        children.add(child);
    }
    while ((child = _nextSibling[child]) != 0);
    return new NodeListImpl(children.toIntArray());
      }
      else {
    return getEmptyNodeList();
      }
  }
View Full Code Here

Examples of org.apache.xalan.xsltc.util.IntegerArray.toIntArray()

      final IntegerArray list = new IntegerArray();
      int node;
      while ((node = iter.next()) != NodeIterator.END) {
    list.add(node);
      }
      _nodes = list.toIntArray();
  }

  public int getLength() {
      return _nodes.length;
  }
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.