@ Override public Iterator < Map . Entry < K , V > > iterator ( ) { return Collections . unmodifiableSet ( state . entrySet ( ) ) . iterator ( ) ; }
Iterates over all the mappings in the state . The iterator cannot remove elements .