2016-12-03から1日間の記事一覧

Unmodifiable – Java Puzzlers Advent Calendar3日目

import java.util.*; public class Main { public static void main(String[] args) { List<String> strings = new ArrayList<>(Arrays.asList("aaa", "bbb", "ccc")); List<String> unmodifiableList = Collections.unmodifiableList(strings); System.out.print(unmodifiab</string></string>…