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

net.amygdalum.util.text.CharMapping Maven / Gradle / Ivy

Go to download

Searching and Matching Strings with efficient algorithms: - Knuth-Morris-Pratt - Shift-And/Or - Boyer-Moore-Horspool - Sunday (QuickSearch) - BNDM - BOM - Aho-Corasick - Set-Horspool - Wu-Manber - Set-BOM

There is a newer version: 0.4.4
Show newest version
package net.amygdalum.util.text;

public interface CharMapping {

	public static final CharMapping IDENTITY = new CharMapping() {
		
		@Override
		public char[] map(char c) {
			return new char[]{c};
		}

		@Override
		public char[] normalized(char[] chars) {
			return chars;
		}
	};

	char[] map(char c);

	char[] normalized(char[] chars);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy