Java Arraylist Get First Element From Set