Java Array Get First Element From Set