Class ReverseOffsetLookupCache<VALUE_TYPE,​EXTRA_INPUT_TYPE>

java.lang.Object
com.illumon.util.datastructures.cache.ReverseOffsetLookupCache<VALUE_TYPE,​EXTRA_INPUT_TYPE>
All Implemented Interfaces:
ToIntFunction<VALUE_TYPE>

public class ReverseOffsetLookupCache<VALUE_TYPE,​EXTRA_INPUT_TYPE>
extends Object
implements ToIntFunction<VALUE_TYPE>
Caching data structure interface for caching Object to int (offset) mappings returned by an expensive, idempotent lookup function from int to Object.