Skip to content

Instantly share code, notes, and snippets.

@tigawa
Created February 15, 2017 08:17
Show Gist options
  • Save tigawa/e55ba46468d032d8524642c7a2181961 to your computer and use it in GitHub Desktop.
Save tigawa/e55ba46468d032d8524642c7a2181961 to your computer and use it in GitHub Desktop.
1件だけ要素があるリストを生成する。
Collections.singletonList(new Object())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment