K - the map key type--often the primary key type of <V>.V - the map value type, and the result element type--often the "master" object in a
master/detail relation.@FunctionalInterface public interface LinkedHashMapRowReducer<K,V> extends RowReducer<Map<K,V>,V>
LinkedHashMap (which preserves insertion order) as a
result container, and returns map.values().stream() as the final result.
Implementors need only implement the RowReducer.accumulate(Object, RowView) method.
| Modifier and Type | Method and Description |
|---|---|
default Map<K,V> |
container()
Returns a new, empty result container.
|
default Stream<V> |
stream(Map<K,V> container)
Returns a stream of result elements from the result container.
|
accumulatedefault Map<K,V> container()
RowReducerCopyright © 2019. All rights reserved.