
com.github.chaosfirebolt.converter.api.cache.MapCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of roman-numeral-converter Show documentation
Show all versions of roman-numeral-converter Show documentation
Library for converting roman numerals to arabic and vice versa.
package com.github.chaosfirebolt.converter.api.cache;
import com.github.chaosfirebolt.converter.api.initialization.InitializationCapable;
import com.github.chaosfirebolt.converter.api.initialization.InitializationData;
import com.github.chaosfirebolt.converter.api.initialization.NoOpMapData;
import java.util.Map;
import java.util.Optional;
import java.util.function.Function;
import java.util.function.Supplier;
/**
* Caches values in a {@link Map}.
*
* @param type of the key, by which the value is saved
* @param type of the cached value
* @deprecated deprecated in favour of {@link DefaultCache}
*/
@Deprecated(since = "3.3.0", forRemoval = true)
public abstract class MapCache extends BaseCache implements InitializationCapable {
/**
* Map holding cached instances
*/
private final Map cache;
private final InitializationData
© 2015 - 2025 Weber Informatics LLC | Privacy Policy