Is there a way to covert the below to using collectors yet?
List lines = getLines();
Multimap multimap = ArrayListMulti
You can use Multimaps.toMultimap collector:
ListMultimap<String, String> multimap = lines.stream()
.collect(Multimaps.toMultimap(
l -> l[0],
l -> l[1],
ArrayListMultimap::create
));
Or if you don't need mutability, use ImmutableListMultimap.toImmutableListMultimap collector:
ListMultimap<String, String> multimap = lines.stream()
.collect(toImmutableListMultimap(l -> l[0], l -> l[1]));