- Type Parameters:
ELEMENT- the type of elements to be classifiedCLASS- the type of equivalence classes (classification buckets)
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface Partitioner<ELEMENT extends @Nullable Object, CLASS extends @Nullable Object>
A Partitioner accepts Objects and assigns them to an equivalence class.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionassignToBucket(ELEMENT obj) Returns a key representing the bucket containing obj.
-
Method Details
-
assignToBucket
-