/** * Appends the part of the specified list between <code>from</code> (inclusive) and <code>to</code> (inclusive) to the receiver. * * @param other the list to be added to the receiver. * @param from the index of the first element to be appended (inclusive). * @param to the index of the last element to be appended (inclusive). * @exception IndexOutOfBoundsException index is out of range (<tt>other.size()>0 && (from<0 || from>to || to>=other.size())</tt>). */ public void addAllOfFromTo(AbstractIntList other, int from, int to) { beforeInsertAllOfFromTo(size,other,from,to); } /**
/** * Appends the part of the specified list between <code>from</code> (inclusive) and <code>to</code> (inclusive) to the receiver. * * @param other the list to be added to the receiver. * @param from the index of the first element to be appended (inclusive). * @param to the index of the last element to be appended (inclusive). * @exception IndexOutOfBoundsException index is out of range (<tt>other.size()>0 && (from<0 || from>to || to>=other.size())</tt>). */ public void addAllOfFromTo(AbstractIntList other, int from, int to) { beforeInsertAllOfFromTo(size,other,from,to); } /**
/** * Appends the part of the specified list between <code>from</code> * (inclusive) and <code>to</code> (inclusive) to the receiver. * * @param other * the list to be added to the receiver. * @param from * the index of the first element to be appended (inclusive). * @param to * the index of the last element to be appended (inclusive). * @exception IndexOutOfBoundsException * index is out of range ( * <tt>other.size()>0 && (from<0 || from>to || to>=other.size())</tt> * ). */ public void addAllOfFromTo(AbstractIntList other, int from, int to) { beforeInsertAllOfFromTo(size, other, from, to); }