@SuppressWarnings("unchecked")
        @Override
        public E next() {
            if (!hasNext()) {
                throw new NoSuchElementException("No more elements available");
            }
            removed = false;
            return (E) entries[++i];
        }
A Set implementation with low allocation cost. It should only be used for
small number of objects, as it is implemented as scanning an ArrayList for
equality matches. In other words: Performance will only be acceptable for
<i>small</i> sets.

<p>
The rationale for this class is the high cost of the object identifier used
in IdentityHashMap, where the key set is often used as an identity set.
</p>

@author Steinar Knutsen
@author baldersheim

@param <E>
           the type contained in the Set
vespajlib/src/main/java/com/yahoo/collections/ArraySet.java