/** * Adds an element to this vector. Increases its capacity if its not large * enough. * * @param element the element to add */ public final void addElement(E element) { add(element); }
downSampled.add(tmpV.get(index));
/** * Inserts an element at the given position. * * @param element the element to be inserted * @param index the element's index */ public final void insertElementAt(E element, int index) { add(index, element); }
/** * Adds an element to this vector. Increases its capacity if its not large * enough. * * @param element the element to add */ public final void addElement(E element) { add(element); }
/** * Inserts an element at the given position. * * @param element the element to be inserted * @param index the element's index */ public final void insertElementAt(E element, int index) { add(index, element); }