private void insert(String url, List<Article> newArticles) {
		if(!articleMap.containsKey(url))
			articleMap.put(url, new ArrayList<Article>());

		List<Article> articleList = articleMap.get(url);
		articleList.addAll(newArticles);

		log("New size for " + url + " is " + articleList.size());
	}
private void insert ( String url , List < Article > newArticles ) { if ( ! articleMap . containsKey ( url ) ) articleMap . put ( url , new ArrayList < Article > ( ) ) ; List < Article > articleList = articleMap . get ( url ) ; articleList . addAll ( newArticles ) ; log ( "New size for " + url + " is " + articleList . size ( ) ) ; }
Inserts the passed list into the article map database.
This will be cleared once the instance dies.
@param url URL to associate this list with.
@param newArticles Article list to store.