T
- type of the element from which we extract the key.@FunctionalInterface public interface KeyExtractorFunction<T>
Modifier and Type | Field and Description |
---|---|
static KeyExtractorFunction<? extends Keyed<?>> |
FOR_KEYED_OBJECTS |
Modifier and Type | Method and Description |
---|---|
Object |
extractKeyFromElement(T element)
Returns the key for the given element by which the key-group can be computed.
|
static <T extends Keyed<?>> |
forKeyedObjects() |
static final KeyExtractorFunction<? extends Keyed<?>> FOR_KEYED_OBJECTS
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.