tokuhirom / tokuhirom/java-handbook
List/Map 処理するときのチートシート的なの欲しい
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 146
- Forks
- 9
- Avg merge
- 2m
- Merged PRs (30d)
- 5
Description
ImmutableMap と HashMap とか ImmutableList と Lists.newArrayList とか
List から Map に変換するための
List<Obj> list;
...
Map<Long, Obj> = list.stream.collect(Collectors.toMap(Obj::getId, obj -> obj));
とかとか
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by inspecting the handbook's existing documentation structure and search for List, Map, ImmutableMap, ImmutableList, and Lists.newArrayList examples. Done means adding a focused cheat sheet covering the requested collection choices and List-to-Map conversion examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100