kactoos-jvm / nnl.rocks.kactoos.map / Grouped / <init>
Grouped(list:
Iterable
<
T
>, keys:
KFunc
<
T
,
K
>, values:
KFunc
<
T
,
V
>)
Iterable as Map.
This class groups objects from iterable by applying functions for keys and values
There is no thread-safety guarantee.
K
- Type of key
V
- Type of value
T
- Type of entry objects of functions
list
- Iterable which is used to retrieve data from
keys
- Function to get a key
values
- Function to get a value
Since 0.3