code: function(oData, index) {
          var oRecord = new YAHOO.widget.Record(oData);
          
          if(YAHOO.lang.isNumber(index) && (index > -1)) {
              this._records.splice(index,0,oRecord);
          }
          else {
              //index = this.getLength();
              //this._records[index] = oRecord;
              this._records[this._records.length] = oRecord;
          }
          //this._length++;
          return oRecord;
      }
docs: ///////////////////////////////////////////////////////////////////////////  Private methods  /////////////////////////////////////////////////////////////////////////// 
  Adds one Record to the RecordSet at the given index. If index is null,
  then adds the Record to the end of the RecordSet.
  
  @method _addRecord
  @param oData {Object} An object literal of data.
  @param index {Number} (optional) Position index.
  @return {YAHOO.widget.Record} A Record instance.
  @private