All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softicar.platform.common.string.normalizer.CurrentDiacriticNormalizationCache Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
package com.softicar.platform.common.string.normalizer;

import com.softicar.platform.common.core.singleton.Singleton;

/**
 * A {@link Singleton} that holds the currently-used
 * {@link DiacriticNormalizationCache}.
 *
 * @author Alexander Schmidt
 */
public class CurrentDiacriticNormalizationCache {

	private static final Singleton INSTANCE = new Singleton<>(DiacriticNormalizationCache::new);

	/**
	 * Returns the currently-used {@link DiacriticNormalizationCache}.
	 *
	 * @return the current {@link DiacriticNormalizationCache} (never
	 *         null)
	 */
	public static DiacriticNormalizationCache get() {

		return INSTANCE.get();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy