//Declaring arraylist private ArrayList artikelen; //Adding an article to the arraylist public void addArtikel(int aid) { //The aid constructor is used, wich gets some values from a database according to this aid. artikelen.Add(new Artikel(aid)); } //Checking if the article already exists in the arraylist? public Boolean articleExists(int aid) { artikelen.BinarySearch ???? }