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 .