@Override protected void trainInternal(List<Item> items, List<ClickData> clickData) { //whenever a click occurs, remove the id of the article that has been clicked //from the result list and push it to the front for (ClickData c : clickData) { clickedItems.addAndMoveToFirst(c.click.item.id); } }