@FunctionalInterface interface Function6<One, Two, Three, Four, Five, Six> { public Six apply(One one, Two two, Three three, Four four, Five five); } public static void main(String[] args) throws Exception { Function6<String, Integer, Double, Void, List<Float>, Character> func = (a, b, c, d, e) -> 'z'; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter