public boolean add ( Object o ) { // find the index where this item should go // add the item @ the specified index int idx = 0 ; if ( ! isEmpty ( ) ) { idx = findInsertionPoint ( o ) ; } try { super . add ( idx , o ) ; } catch ( IndexOutOfBoundsException e ) { return false ; } return true ; }
Adds an Object to this Collection .