Examples of IntArray


Examples of cc.redberry.core.utils.IntArray

        UpperLowerIndices ul = wul.get();
        if (ul == null) {
            ul = calculateUpperLower();
            upperLower = new WeakReference<>(ul);
        }
        return new IntArray(ul.lower);
    }
View Full Code Here

Examples of cc.redberry.core.utils.IntArray

        return new IntArray(ul.lower);
    }

    @Override
    public final IntArray getAllIndices() {
        return new IntArray(data);
    }
View Full Code Here

Examples of cc.redberry.core.utils.IntArray

     * @param data array of indices
     */
    AbstractIndices(int[] data) {
        this.data = data;
        this.size = data.length;
        this.dataContainer = new IntArray(data);
    }
View Full Code Here

Examples of cc.redberry.core.utils.IntArray

    @Override
    public final IntArray getUpper() {
        if (upper == null)
            calculateUpperLower();
        return new IntArray(upper);
    }
View Full Code Here

Examples of cc.redberry.core.utils.IntArray

    @Override
    public final IntArray getLower() {
        if (lower == null)
            calculateUpperLower();
        return new IntArray(lower);
    }
View Full Code Here

Examples of ch.akuhn.util.IntArray

    public TermDocumentMatrix() {
        this.matrix = new SparseMatrix(0, 0);
        this.terms = new AssociativeList<String>();
        this.documents = new AssociativeList<String>();
        this.lengthArray = new IntArray();
    }
View Full Code Here

Examples of com.almworks.integers.IntArray

    int size = array.size();
    int[] ints = array.extractHostArray();
    for (int i = 0, m2 = size / 2; i < m2; i++) {
      IntCollections.swap(ints, i, size - 1 - i);
    }
    return new IntArray(ints, size);
  }
View Full Code Here

Examples of com.badlogic.gdx.utils.IntArray

      noDevice = true;
      ex.printStackTrace();
      return;
    }

    allSources = new IntArray(false, simultaneousSources);
    for (int i = 0; i < simultaneousSources; i++) {
      int sourceID = alGenSources();
      if (alGetError() != AL_NO_ERROR) break;
      allSources.add(sourceID);
    }
    idleSources = new IntArray(allSources);
    soundIdToSource = new LongMap<Integer>();
    sourceToSoundId = new IntMap<Long>();

    FloatBuffer orientation = (FloatBuffer)BufferUtils.createFloatBuffer(6)
      .put(new float[] {0.0f, 0.0f, -1.0f, 0.0f, 1.0f, 0.0f}).flip();
View Full Code Here

Examples of com.caucho.util.IntArray

  {
    _exprs = exprs;
    _order = order;

    if (order != null)
      _orderIndex = new IntArray();

    if (_stores.length < _exprs.length) {
      _stores = new BlockStore[exprs.length];
    }
View Full Code Here

Examples of com.caucho.util.IntArray

    throws Exception
  {
    if (countPattern == null)
      countPattern = XPath.parseMatch(node.getNodeName()).getPattern();

    IntArray numbers = new IntArray();
    for (; node != null; node = node.getParentNode()) {
      if (countPattern.match(node, env)) {
        numbers.add(countPreviousSiblings(node, env, countPattern));
        break;
      }
      if (fromPattern != null && fromPattern.match(node, env))
        break;
    }
    if (fromPattern != null && ! findFromAncestor(node, env, fromPattern)) 
      numbers.clear();

    format.format(out, numbers);
  }
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.