<p>
The historical Spot prices.
</p>

@param spotPriceHistory
The historical Spot prices.
435600
public void setSpotPriceHistory(java.util.Collection<SpotPrice> spotPriceHistory) {
        if (spotPriceHistory == null) {
            this.spotPriceHistory = null;
            return;
        }

        this.spotPriceHistory = new com.amazonaws.internal.SdkInternalList<SpotPrice>(spotPriceHistory);
    }
210283
public void setCommercePriceEntryLocalService(
		com.liferay.commerce.price.list.service.CommercePriceEntryLocalService commercePriceEntryLocalService) {
		this.commercePriceEntryLocalService = commercePriceEntryLocalService;
	}
727699
private void initHistoryUpdaters() {
        historyUpdaters.put(RequestType.EXEC,
                            new HistoryUpdater<JmxExecRequest>() {
                                /** {@inheritDoc} */
                                public void updateHistory(JSONObject pJson,JmxExecRequest request, long pTimestamp) {
                                    HistoryEntry entry = historyStore.get(new HistoryKey(request));
                                    if (entry != null) {
                                        synchronized(entry) {
                                            pJson.put(KEY_HISTORY,entry.jsonifyValues());
                                            entry.add(pJson.get(KEY_VALUE),pTimestamp);
                                        }
                                    }
                                }
                            });
        historyUpdaters.put(RequestType.WRITE,
                            new HistoryUpdater<JmxWriteRequest>() {
                                /** {@inheritDoc} */
                                public void updateHistory(JSONObject pJson,JmxWriteRequest request, long pTimestamp) {
                                    HistoryEntry entry = historyStore.get(new HistoryKey(request));
                                    if (entry != null) {
                                        synchronized(entry) {
                                            pJson.put(KEY_HISTORY,entry.jsonifyValues());
                                            entry.add(request.getValue(),pTimestamp);
                                        }
                                    }
                                }
                            });
        historyUpdaters.put(RequestType.READ,
                            new HistoryUpdater<JmxReadRequest>() {
                                /** {@inheritDoc} */
                                public void updateHistory(JSONObject pJson,JmxReadRequest request, long pTimestamp) {
                                    updateReadHistory(request,pJson,pTimestamp);
                                }
                            });

    }
945730
public static void addHistory(@NonNull Intent intent, @NonNull History history,
      @NonNull KeyParceler parceler) {
    InternalLifecycleIntegration.addHistoryToIntent(intent, history, parceler);
  }
282752
public void setHistoryRecords(java.util.Collection<HistoryRecordEntry> historyRecords) {
        if (historyRecords == null) {
            this.historyRecords = null;
            return;
        }

        this.historyRecords = new com.amazonaws.internal.SdkInternalList<HistoryRecordEntry>(historyRecords);
    }
710987
public void refreshCachedValues() {
        if (noteColumn) {
            note = getHistoryReference().hasNote();
        }
        if (tagsColumn) {
            tags = listToCsv(getHistoryReference().getTags());
        }
        if (highestAlertColumn) {
            alertRiskCellItem = AlertRiskTableCellItem.getItemForRisk(getHistoryReference().getHighestAlert());
        }
    }
542248
public void setCommercePriceListAccountRelService(
		com.liferay.commerce.price.list.service.CommercePriceListAccountRelService commercePriceListAccountRelService) {
		this.commercePriceListAccountRelService = commercePriceListAccountRelService;
	}
157847
function(){
		if(this.position<this.initpos){ this.broken = true;}
		for(var i=this.history.length-1;i>=this.position;i--){ this.history.pop();}
		this.position = this.history.length;
		this.chainflag = false;
	}
743742
def position(self, pos=None):
		
		if pos is not None:
			if pos >= len(self.__history):
				raise IndexError('History position is out of bound')
			self.__history_position = pos
		return self.__history_position
69997
protected void figureCurrentHistory ()
    {
        int first = _historyModel.getValue();
        int count = 0;
        Graphics2D gfx = null;

        if (isLaidOut() && !_history.isEmpty()) {
            gfx = getTargetGraphics();
            if (gfx == null) {
                log.warning("Can't figure current history, no graphics.");
                return;
            }

            // start from the bottom..
            Rectangle vbounds = _target.getViewBounds();
            int ypos = vbounds.height - _subtitleYSpacing;

            for (int ii = first; ii >= 0; ii--, count++) {
                ChatGlyph rec = getHistorySubtitle(ii, gfx);

                // see if it will fit
                Rectangle r = rec.getBounds();
                ypos -= r.height;
                if ((count != 0) && ypos <= (vbounds.height - _subtitleHeight)) {
                    break; // don't add that one..
                }

                // position it
                rec.setLocation(vbounds.x + _subtitleXSpacing, vbounds.y + ypos);
                // add space for the next
                ypos -= getHistorySubtitleSpacing(ii);
            }
        }

        // finally, because we've been adding to the _showingHistory here (via getHistorySubtitle)
        // and in figureHistoryOffset (possibly called prior to this method) we now need to prune
        // out the ChatGlyphs that aren't actually needed and make sure the ones that are are
        // positioned on the screen correctly
        for (Iterator<ChatGlyph> itr = _showingHistory.iterator(); itr.hasNext(); ) {
            ChatGlyph cg = itr.next();
            boolean managed = (_target != null) && _target.isManaged(cg);
            if (cg.histIndex <= first && cg.histIndex > (first - count)) {
                // it should be showing
                if (!managed) {
                    _target.addAnimation(cg);
                }

            } else {
                // it shouldn't be showing
                if (managed) {
                    _target.abortAnimation(cg);
                }
                itr.remove();
            }
        }

        if (gfx != null) {
            gfx.dispose();
        }
    }
230783
function getHistoricalClosePrices(options = {}) {
  const { index, currency, start, end, yesterday } = options

  return request(`/historical/close.json`, {
    index,
    currency,
    start: start && end && formatDate(start) || undefined,
    end: start && end && formatDate(end) || undefined,
    for: yesterday ? 'yesterday' : undefined
  })
}
69575
@Override
  public final void setPriceCategory(final PriceCategory pPriceCategory) {
    this.priceCategory = pPriceCategory;
    if (this.itsId == null) {
      this.itsId = new PriceGoodsId();
    }
    this.itsId.setPriceCategory(this.priceCategory);
  }
1343574
public String popHistory(int quanityToPop, boolean bPopFromBrowser)
    {
        String strHistory = null;
        for (int i = 0; i < quanityToPop; i++)
        {
        	strHistory = null;
	        if (m_vHistory != null) if (m_vHistory.size() > 0)
	            strHistory = (String)m_vHistory.remove(m_vHistory.size() - 1);
        }
        if (bPopFromBrowser)
        	if (this.getAppletScreen() != null) 
            	if (this.getAppletScreen().getTask() instanceof BaseAppletReference)
    				((BaseAppletReference)this.getAppletScreen().getTask()).popBrowserHistory(quanityToPop, strHistory != null, this.getTitle());    	// Let browser know about the new screen
        return strHistory;
    }
800856
@Override
  public UserTrades getTradeHistory(TradeHistoryParams params) throws IOException {

    Integer limit = 1000;
    long offset = 0;

    if (params instanceof TradeHistoryParamLimit) {
      limit = ((TradeHistoryParamLimit) params).getLimit();
    }

    if (params instanceof TradeHistoryParamOffset) {
      TradeHistoryParamOffset tradeHistoryParamOffset = (TradeHistoryParamOffset) params;
      offset = tradeHistoryParamOffset.getOffset();
    }

    String symbol = null;
    if (params instanceof TradeHistoryParamCurrencyPair) {
      CurrencyPair pair = ((TradeHistoryParamCurrencyPair) params).getCurrencyPair();
      symbol = HitbtcAdapters.adaptCurrencyPair(pair);
    }

    List<HitbtcOwnTrade> tradeHistoryRaw = getTradeHistoryRaw(symbol, limit, offset);
    return HitbtcAdapters.adaptTradeHistory(tradeHistoryRaw);
  }
482375
function(text)
    {
        if (this._uncommittedIsTop) {
            this._data.pop();
            delete this._uncommittedIsTop;
        }

        this._historyOffset = 1;
        if (this._coalesceHistoryDupes && text === this._currentHistoryItem())
            return;
        this._data.push(text);
    }
567646
public void setAdMarkers(java.util.Collection<String> adMarkers) {
        if (adMarkers == null) {
            this.adMarkers = null;
            return;
        }

        this.adMarkers = new java.util.ArrayList<String>(adMarkers);
    }
480850
public void setSpotInstanceRequests(java.util.Collection<SpotInstanceRequest> spotInstanceRequests) {
        if (spotInstanceRequests == null) {
            this.spotInstanceRequests = null;
            return;
        }

        this.spotInstanceRequests = new com.amazonaws.internal.SdkInternalList<SpotInstanceRequest>(spotInstanceRequests);
    }