Interface KeyGenerator

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 KeyGenerator
Interface for defining keys to uniquely identify items. this can be useful if the item itself cannot be modified to properly override equals.
Author:
Dave Syer, Taeik Lim
  • Method Summary

    Modifier and Type
    Method
    Description
    getKey(Object item)