src/main/java/org/jivesoftware/smack/util/collections/AbstractHashedMap.java
protected Iterator<Map.Entry<K, V>> createEntrySetIterator() {
        if (size() == 0) {
            return EmptyIterator.INSTANCE;
        }
        return new EntrySetIterator<K, V>(this);
    }
protected Iterator<Map.Entry<K, V>> createEntrySetIterator() {
        if (size() == 0) {
            return EmptyIterator.INSTANCE;
        }
        return new EntrySetIterator<K, V>(this);
    }
protected Iterator < Map . Entry < K , V > > createEntrySetIterator ( ) { if ( size ( ) == 0 ) { return EmptyIterator . INSTANCE ; } return new EntrySetIterator < K , V > ( this ) ; }
Creates an entry set iterator. Subclasses can override this to return
iterators with different properties.

@return the entrySet iterator
Creates an entry set iterator . Subclasses can override this to return iterators with different properties .