79302866

Date: 2024-12-23 11:03:18
Score: 2.5
Natty:
Report link

You can convert from one dataType of stream to another using map like

Stream.of(4, 0.1).map(i->Double.valueOf(i)).reduce(Double.MAX_VALUE, Double::min);

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vishal Raj