Example usage for org.apache.commons.text.translate CharSequenceTranslator subclass-usage

List of usage examples for org.apache.commons.text.translate CharSequenceTranslator subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.text.translate CharSequenceTranslator subclass-usage.

Usage

From source file org.mariotaku.commons.emojione.AbsShortnameToUnicodeTranslator.java

class AbsShortnameToUnicodeTranslator extends CharSequenceTranslator {

    private final HashMap<CharSequence, String> lookupMap;
    private final HashSet<Character> prefixSet;
    private final int shortest;
    private final int longest;