@Override
    public void addSourceTargetSet(UnicodeSet inputFilter, UnicodeSet sourceSet, UnicodeSet targetSet) {
        synchronized (UppercaseTransliterator.class) {
            if (sourceTargetUtility == null) {
                sourceTargetUtility = new SourceTargetUtility(new Transform<String,String>() {
                    @Override
                    public String transform(String source) {
                        return UCharacter.foldCase(source, true);
                    }
                });
            }
        }
        sourceTargetUtility.addSourceTargetSet(this, inputFilter, sourceSet, targetSet);
    }
@ Override public void addSourceTargetSet ( UnicodeSet inputFilter , UnicodeSet sourceSet , UnicodeSet targetSet ) { synchronized ( UppercaseTransliterator . class ) { if ( sourceTargetUtility == null ) { sourceTargetUtility = new SourceTargetUtility ( new Transform < String , String > ( ) { @ Override public String transform ( String source ) { return UCharacter . foldCase ( source , true ) ; } } ) ; } } sourceTargetUtility . addSourceTargetSet ( this , inputFilter , sourceSet , targetSet ) ; }
/* (non-Javadoc)
@see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text.UnicodeSet, android.icu.text.UnicodeSet)