README.md

View adapter utils (ver. 1.1)

com.pp.utils.viewadapter.ListViewAdapter<T, R>

Wrapper class around java.util.List implementations that delivers a view for items of elements in the list. Usage in client code can be f.e.:

List<Integer> ints = ...; 
List<String> strs = new ListViewAdapter<>(ints, String::valueOf);

com.pp.utils.viewadapter.IterableViewAdapter<T, R>

Wrapper class around Iterable that delivers a view for iterable items. Usage in client code can be f.e.:

Iterable<Integer> ints = ...; 
new IterableViewAdapter<>(ints, String::valueOf).forEach(...);
Конвейеры
0 успешных
0 с ошибкой