/** * Same as {@link #copyFrom(int, int, ListVector)} except that * it handles the case when the capacity of the vector needs to be expanded * before copy. * @param inIndex position to copy from in source vector * @param outIndex position to copy to in this vector * @param from source vector */ public void copyFromSafe(int inIndex, int outIndex, ListVector from) { copyFrom(inIndex, outIndex, from); }
@Override public void copyValueSafe(int from, int to) { this.to.copyFrom(from, to, ListVector.this); } }