public ICUTransformFilter(TokenStream input, Transliterator transform) {super(input);this.transform = transform;if (transform.getFilter() == null && transform instanceof com.ibm.icu.text.RuleBasedTransliterator) {final UnicodeSet sourceSet = transform.getSourceSet();if (sourceSet != null && !sourceSet.isEmpty())transform.setFilter(sourceSet);}}

public ICUTransformFilter(TokenStream input, Transliterator transform): base(input){this.transform = transform;this.termAtt = AddAttribute<ICharTermAttribute>();#pragma warning disable 612, 618if (transform.Filter == null && transform is RuleBasedTransliterator)#pragma warning restore 612, 618{UnicodeSet sourceSet = transform.GetSourceSet();if (sourceSet != null && sourceSet.Any())transform.Filter=sourceSet;}}
