public EntryStream < K , V > peekKeys ( Consumer < ? super K > keyAction ) { return peek ( e -> keyAction . accept ( e . getKey ( ) ) ) ; }
Returns a stream consisting of the entries of this stream additionally performing the provided action on each entry key as entries are consumed from the resulting stream .