Class GroupAndCountCollectorSupplier<T>
java.lang.Object
org.keycloak.models.sessions.infinispan.stream.GroupAndCountCollectorSupplier<T>
- Type Parameters:
T
- The type of the elements.
@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.
-
Method Summary