Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

get first entry in set java

Set<Long> set = new LinkedHashSet<>();
set.iterator().next();
// LinkedHashSet guarantees insertion order
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #entry #set #java
ADD COMMENT
Topic
Name
9+9 =