Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

stream get double value from map

EntryStream.of(someMap)
    .values()
    .mapToDouble(d -> d)
    .sum();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #stream #double #map
ADD COMMENT
Topic
Name
8+2 =