Talk:Non-transitive dice: Difference between revisions

Content added Content deleted
(→‎java Error message: new section)
(→‎java Error message: Responded to Walter.)
Line 37: Line 37:
location: interface List
location: interface List
--Walter Pachl 07:04, 11 March 2022 (UTC)
--Walter Pachl 07:04, 11 March 2022 (UTC)

:The List.of method was introduced in Java 9 so I suspect you're using an earlier version.

:As a possible workaround try replacing that line with:

::res.add(Arrays.asList(cs.get(i), cs.get(j), kl));

:and adding this import:

::import java.util.Arrays;

:--[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 08:48, 11 March 2022 (UTC)