Map<Integer, Colour> cols = new HashMap<>();. A map is created where keys are integers and values are Colour objects. if (cols.containsKey(key)) ...
確定! 回上一頁