Interface SingleKeyGroupFunction<T>
public interface SingleKeyGroupFunction<T>
Interface for functions which generate a GroupKey with only one component from an element
- Author:
- René Bergelt
-
Method Summary
Modifier and TypeMethodDescriptiongetKeyElementFor(T element)Return a single object which acts as key for the given element
-
Method Details
-
getKeyElementFor
Return a single object which acts as key for the given element- Parameters:
element- The element to retrieve a key for- Returns:
- The key object
-