/** * Trim the internal buffer to the current size. */ public void trimToSize() { if (size() != this.buffer.length) { this.buffer = toArray(); } }
long[] remaining = remainingTypes.toArray(); Arrays.sort(remaining); for (long tid : remaining) {
long[] remaining = remainingTypes.toArray(); Arrays.sort(remaining); for (long tid : remaining) {
builder.primaryTerms(list.toArray()); } else { throw new IllegalArgumentException("Unexpected field for an array " + currentFieldName);
/** * Trim the internal buffer to the current size. */ public void trimToSize() { if (size() != this.buffer.length) { this.buffer = toArray(); } }
long[] startArray = starts.toArray(); int[] lengthArray = lengths.toArray(); for (ComputeStep computeStep : computeSteps) {
long[] startArray = starts.toArray(); int[] lengthArray = lengths.toArray(); for (HugeComputeStep computeStep : computeSteps) {
builder.primaryTerms(list.toArray()); } else { throw new IllegalArgumentException("Unexpected field for an array " + currentFieldName);
builder.primaryTerms(list.toArray()); } else { throw new IllegalArgumentException("Unexpected field for an array " + currentFieldName);
builder.primaryTerms(list.toArray()); } else { throw new IllegalArgumentException("Unexpected field for an array " + currentFieldName);
long[] remaining = remainingTypes.toArray(); Arrays.sort(remaining); for (long tid : remaining) {
long[] remaining = remainingTypes.toArray(); Arrays.sort(remaining); for (long tid : remaining) {