function(sValue) {
			var aHistory = this._initHistory();
			// ensure it is not contained twice -> remove
			for (var i = 0; i < aHistory.length; i++) {
				if (aHistory[i] === sValue) {
					aHistory.splice(i,1);
					break;
				}
			}
			// and put it to the 'very top'
			aHistory.unshift(sValue);
			// but do not store more than specified
			if (aHistory.length > this._iMaxHistory) {
				aHistory.splice(this._iMaxHistory);
			}

			this._oStorage.put(this._sHistoryId, aHistory);
		}
function(sValue) {
			var aHistory = this._initHistory();
			// ensure it is not contained twice -> remove
			for (var i = 0; i < aHistory.length; i++) {
				if (aHistory[i] === sValue) {
					aHistory.splice(i,1);
					break;
				}
			}
			// and put it to the 'very top'
			aHistory.unshift(sValue);
			// but do not store more than specified
			if (aHistory.length > this._iMaxHistory) {
				aHistory.splice(this._iMaxHistory);
			}

			this._oStorage.put(this._sHistoryId, aHistory);
		}
function ( sValue ) { var aHistory = this . _initHistory ( ) ; // ensure it is not contained twice -> remove for ( var i = 0 ; i < aHistory . length ; i ++ ) { if ( aHistory [ i ] === sValue ) { aHistory . splice ( i , 1 ) ; break ; } } // and put it to the 'very top' aHistory . unshift ( sValue ) ; // but do not store more than specified if ( aHistory . length > this . _iMaxHistory ) { aHistory . splice ( this . _iMaxHistory ) ; } this . _oStorage . put ( this . _sHistoryId , aHistory ) ; }
Adds the given value to the history.

@private
Adds the given value to the history .
Adds the specified value to the history