SyntaxFix
Write A Post
Hire A Developer
Questions
As an alternative to guava one can use kotlin-stdlib
guava
private Map<String, Choice> nameMap(List<Choice> choices) { return CollectionsKt.associateBy(choices, Choice::getName); }