Class GroupAndCountCollectorSupplier<T>

java.lang.Object
org.keycloak.models.sessions.infinispan.stream.GroupAndCountCollectorSupplier<T>
Type Parameters:
T - The type of the elements.
All Implemented Interfaces:
Supplier<Collector<T,?,Map<T,Long>>>

@ProtoTypeId(65610) public class GroupAndCountCollectorSupplier<T> extends Object implements Supplier<Collector<T,?,Map<T,Long>>>
A Supplier that returns a Collector to group and count elements.

Infinispan can marshall lambdas, by using SerializedLambda but it is not as efficient and ProtoStream marshaller.