■ An inner class Interface of Map that represents the sets of key-value pairs s returned as a (non-Map) Set by map.entrySet( )
■ Then you use an iterator against it. No ListIterator however, as that’s not for Sets.
■ Has several of its own methods (besides the ones you’d get from the Iterator, to navigate the Set):
.getKey( ) and .getValue( ) return returns the current item’s key and value, respectively
.setValue(Obj) replaces the current value and also writes through to the underlying Map.
■ Note if the iterator’s remove( ) method has been run you can’t use the
above methods predictably.