/**
  * @param input Source token stream
  * @param collator CollationKey generator
  */
 public ICUCollationKeyFilter(TokenStream input, Collator collator) {
   super(input);
   // clone the collator: see http://userguide.icu-project.org/collation/architecture
   try {
     this.collator = (Collator) collator.clone();
   } catch (CloneNotSupportedException e) {
     throw new RuntimeException(e);
   }
 }