-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Yani (Ioannis) Metaxas edited this page Oct 16, 2018
·
10 revisions
Welcome to the java-tools wiki!
Class loading and reloading: http://tutorials.jenkov.com/java-reflection/dynamic-class-loading-reloading.html
private <T, S> List<S> apply(List<T> input, Function<T, S> function) {
return input.stream().map(function).collect(Collectors.toList());
}
assertThat(apply(documents, Document::getPartner), containsInAnyOrder("doc1", "doc2", "doc3"));
Check: https://github.com/poetix/protonpack Check: https://github.com/poetix/ambivalence