Max value java streams

Run Settings
LanguageJava
Language Version
Run Command
import java.util.*; class Main { public static void main(String[] args) { System.out.println("Hello World!"); List<Integer> list = new ArrayList<>(Arrays.asList(23,55,77,99)); int max = list.stream().mapToInt(Integer::intValue).max().orElseThrow(); System.out.println(max); } }
Editor Settings
Theme
Key bindings
Full width
Lines