/**
* Artikel auf reduzieren auf ein paar bestimmte.
*/
private void reduceArticle() {
Usable article = stafftable.getUsables().get(2);
LinkedList<String> toAdd = new LinkedList();
LinkedList<String> articleList = this.getArticleList();
for (int i = 0; i < article.size(); i++) {
for (String firstcheck : articleList) {
String toCheck = firstcheck.split(" ")[0];
if (article.get(i).startsWith(toCheck)) {
toAdd.add(firstcheck);
}
}
}
article.setNewList(toAdd);
}