- Type Parameters:
V
- storage
- Enclosing interface:
KeyValues
public static interface KeyValues.KeyValuesConsumer<V>
A special consumer that avoids lambda garbage.
-
Method Summary
-
Method Details
-
accept
Accepts the KeyValues at the current key and value.- Parameters:
kvs
- kvs.k
- key.v
- value.index
- counter.storage
- storage like a StringBuidler.- Returns:
- custom user count that will be accumulated. If one was returned for each call then the result would be the total count.
-