com.jparams.store.KeyProvider Maven / Gradle / Ivy
package com.jparams.store;
/**
* Transform a given value into a key
*
* @param key type
* @param value type
*/
@FunctionalInterface
public interface KeyProvider
{
/**
* Index value to key or return null
*
* @param value value to transform into a key
* @return key
*/
K provide(V value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy