
com.jparams.store.index.KeyMapper Maven / Gradle / Ivy
package com.jparams.store.index;
/**
* Map a value to a single indexed key
*
* @param key type
* @param value type
*/
@FunctionalInterface
public interface KeyMapper
{
/**
* Index value to key or return null to skip indexing
*
* @param value value to transform into a key
* @return key
*/
K map(V value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy