@Override public LongList subList(int from, int to) { if (fullImpl != null) { // drop indirection return fullImpl.subList(from, to); } else { return super.subList(from, to); } }
@Override public LongList subList(int from, int to) { if (fullImpl != null) { // drop indirection return fullImpl.subList(from, to); } else { return super.subList(from, to); } }
@Override public LongList subList(int from, int to) { if (fullImpl != null) { // drop indirection return fullImpl.subList(from, to); } else { return super.subList(from, to); } }
@Override public void evaluate(Transaction transaction, LongArrayList recommendations, LongOpenHashSet userTransactions) { //merge the recommendation into the list uniqueItems.addAll(recommendations.subList(0, Math.min(recommendations.size(), k))); }
nodePartitions[i] = new LongArrayList(nodes.subList(startPos, endPos));
assert(firstNodeLength < length()); LongArrayList kmerSecond = new LongArrayList(kmers.subList(firstNodeLength, length())); IntArrayList weightSecond = new IntArrayList(weight.subList(firstNodeLength, length()));