how to get first value from hashset in java code example
Example: how to get first element from hashset in java
Collection c;
Iterator iter = c.iterator();
Object first = iter.next();
Collection c;
Iterator iter = c.iterator();
Object first = iter.next();