public < R > StreamEx < R > mapKeyValuePartial ( BiFunction < ? super K , ? super V , ? extends Optional < ? extends R > > mapper ) { return mapPartial ( toFunction ( mapper ) ) ; }
Performs a mapping of the stream keys and values to a partial function removing the elements to which the function is not applicable .