public static < K , V > Map < K , V > newFilteredMap ( Map < K , V > map , Predicate < ? super Entry < K , V > > filter ) { return getEntryStreamWithFilter ( map , filter ) . collect ( toMap ( Entry :: getKey , Entry :: getValue ) ) ; }
New filtered map map .