[java] How to get first item from a java.util.Set?