Skip to content

Instantly share code, notes, and snippets.

@ml10
ml10 / collection_init.java
Last active January 27, 2016 17:43 — forked from jmccance/collection_init.java
Overcoming Immutability in Scala
final List<String> fullNames = new ArrayList<>();
for (Name name : names) {
fullNames.add(String.format("%s %s", name.getFirst(), name.getLast()));
}
@ml10
ml10 / .gitignore
Last active January 10, 2017 16:32 — forked from madan712/IPRangeChecker.java
More options for avoiding mutability in Scala
.idea
*.iml
out
target
.DS_Store