lucene-core-2.9.4-dev

16:39:01.235 INFO  jd.cli.Main - Decompiling lucene-core-2.9.4-dev.jar
package org.apache.lucene;

public final class LucenePackage
{
  public static Package get()
  {
    return LucenePackage.class.getPackage();
  }
}

/* Location:
 * Qualified Name:     org.apache.lucene.LucenePackage
 * Java Class Version: 1.4 (48.0)
 * JD-Core Version:    0.7.1
 */
package org.apache.lucene.analysis;

import java.io.IOException;
import org.apache.lucene.analysis.tokenattributes.TermAttribute;
import org.apache.lucene.util.ArrayUtil;

public final class ASCIIFoldingFilter
  extends TokenFilter
{
  public ASCIIFoldingFilter(TokenStream input)
  {
    super(input);
    termAtt = ((TermAttribute)addAttribute(TermAttribute.class));
  }
  
  private char[] output = new char['?'];
  private int outputPos;
  private TermAttribute termAtt;
  
  public boolean incrementToken()
    throws IOException
  {
    if (input.incrementToken())
    {
      char[] buffer = termAtt.termBuffer();
      int length = termAtt.termLength();
      for (int i = 0; i < length; i++)
      {
        char c = buffer[i];
        if (c >= '?')
        {
          foldToASCII(buffer, length);
          termAtt.setTermBuffer(output, 0, outputPos);
          break;
        }
      }
      return true;
    }
    return false;
  }
  
  public void foldToASCII(char[] input, int length)
  {
    int maxSizeNeeded = 4 * length;
    if (output.length < maxSizeNeeded) {
      output = new char[ArrayUtil.getNextSize(maxSizeNeeded)];
    }
    outputPos = 0;
    for (int pos = 0; pos < length; pos++)
    {
      char c = input[pos];
      if (c < '?') {
        output[(outputPos++)] = c;
      } else {
        switch (c)
        {
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'A';
          break;
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'a';
          break;
        case '?': 
          output[(outputPos++)] = 'A';
          output[(outputPos++)] = 'A';
          break;
        case '�': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'A';
          output[(outputPos++)] = 'E';
          break;
        case '?': 
          output[(outputPos++)] = 'A';
          output[(outputPos++)] = 'O';
          break;
        case '?': 
          output[(outputPos++)] = 'A';
          output[(outputPos++)] = 'U';
          break;
        case '?': 
        case '?': 
          output[(outputPos++)] = 'A';
          output[(outputPos++)] = 'V';
          break;
        case '?': 
          output[(outputPos++)] = 'A';
          output[(outputPos++)] = 'Y';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'a';
          output[(outputPos++)] = ')';
          break;
        case '?': 
          output[(outputPos++)] = 'a';
          output[(outputPos++)] = 'a';
          break;
        case '�': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'a';
          output[(outputPos++)] = 'e';
          break;
        case '?': 
          output[(outputPos++)] = 'a';
          output[(outputPos++)] = 'o';
          break;
        case '?': 
          output[(outputPos++)] = 'a';
          output[(outputPos++)] = 'u';
          break;
        case '?': 
        case '?': 
          output[(outputPos++)] = 'a';
          output[(outputPos++)] = 'v';
          break;
        case '?': 
          output[(outputPos++)] = 'a';
          output[(outputPos++)] = 'y';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'B';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'b';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'b';
          output[(outputPos++)] = ')';
          break;
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'C';
          break;
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'c';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'c';
          output[(outputPos++)] = ')';
          break;
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'D';
          break;
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'd';
          break;
        case '?': 
        case '?': 
          output[(outputPos++)] = 'D';
          output[(outputPos++)] = 'Z';
          break;
        case '?': 
        case '?': 
          output[(outputPos++)] = 'D';
          output[(outputPos++)] = 'z';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'd';
          output[(outputPos++)] = ')';
          break;
        case '?': 
          output[(outputPos++)] = 'd';
          output[(outputPos++)] = 'b';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'd';
          output[(outputPos++)] = 'z';
          break;
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'E';
          break;
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'e';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'e';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'F';
          break;
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'f';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'f';
          output[(outputPos++)] = ')';
          break;
        case '?': 
          output[(outputPos++)] = 'f';
          output[(outputPos++)] = 'f';
          break;
        case '?': 
          output[(outputPos++)] = 'f';
          output[(outputPos++)] = 'f';
          output[(outputPos++)] = 'i';
          break;
        case '?': 
          output[(outputPos++)] = 'f';
          output[(outputPos++)] = 'f';
          output[(outputPos++)] = 'l';
          break;
        case '?': 
          output[(outputPos++)] = 'f';
          output[(outputPos++)] = 'i';
          break;
        case '?': 
          output[(outputPos++)] = 'f';
          output[(outputPos++)] = 'l';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'G';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'g';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'g';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'H';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'h';
          break;
        case '?': 
          output[(outputPos++)] = 'H';
          output[(outputPos++)] = 'V';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'h';
          output[(outputPos++)] = ')';
          break;
        case '?': 
          output[(outputPos++)] = 'h';
          output[(outputPos++)] = 'v';
          break;
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'I';
          break;
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'i';
          break;
        case '?': 
          output[(outputPos++)] = 'I';
          output[(outputPos++)] = 'J';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'i';
          output[(outputPos++)] = ')';
          break;
        case '?': 
          output[(outputPos++)] = 'i';
          output[(outputPos++)] = 'j';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'J';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'j';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'j';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'K';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'k';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'k';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'L';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'l';
          break;
        case '?': 
          output[(outputPos++)] = 'L';
          output[(outputPos++)] = 'J';
          break;
        case '?': 
          output[(outputPos++)] = 'L';
          output[(outputPos++)] = 'L';
          break;
        case '?': 
          output[(outputPos++)] = 'L';
          output[(outputPos++)] = 'j';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'l';
          output[(outputPos++)] = ')';
          break;
        case '?': 
          output[(outputPos++)] = 'l';
          output[(outputPos++)] = 'j';
          break;
        case '?': 
          output[(outputPos++)] = 'l';
          output[(outputPos++)] = 'l';
          break;
        case '?': 
          output[(outputPos++)] = 'l';
          output[(outputPos++)] = 's';
          break;
        case '?': 
          output[(outputPos++)] = 'l';
          output[(outputPos++)] = 'z';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'M';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'm';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'm';
          output[(outputPos++)] = ')';
          break;
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'N';
          break;
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'n';
          break;
        case '?': 
          output[(outputPos++)] = 'N';
          output[(outputPos++)] = 'J';
          break;
        case '?': 
          output[(outputPos++)] = 'N';
          output[(outputPos++)] = 'j';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'n';
          output[(outputPos++)] = ')';
          break;
        case '?': 
          output[(outputPos++)] = 'n';
          output[(outputPos++)] = 'j';
          break;
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'O';
          break;
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'o';
          break;
        case '�': 
        case '?': 
          output[(outputPos++)] = 'O';
          output[(outputPos++)] = 'E';
          break;
        case '?': 
          output[(outputPos++)] = 'O';
          output[(outputPos++)] = 'O';
          break;
        case '?': 
        case '?': 
          output[(outputPos++)] = 'O';
          output[(outputPos++)] = 'U';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'o';
          output[(outputPos++)] = ')';
          break;
        case '�': 
        case '?': 
          output[(outputPos++)] = 'o';
          output[(outputPos++)] = 'e';
          break;
        case '?': 
          output[(outputPos++)] = 'o';
          output[(outputPos++)] = 'o';
          break;
        case '?': 
          output[(outputPos++)] = 'o';
          output[(outputPos++)] = 'u';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'P';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'p';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'p';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'Q';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'q';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'q';
          output[(outputPos++)] = ')';
          break;
        case '?': 
          output[(outputPos++)] = 'q';
          output[(outputPos++)] = 'p';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'R';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'r';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'r';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'S';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 's';
          break;
        case '?': 
          output[(outputPos++)] = 'S';
          output[(outputPos++)] = 'S';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 's';
          output[(outputPos++)] = ')';
          break;
        case '�': 
          output[(outputPos++)] = 's';
          output[(outputPos++)] = 's';
          break;
        case '?': 
          output[(outputPos++)] = 's';
          output[(outputPos++)] = 't';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'T';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 't';
          break;
        case '�': 
        case '?': 
          output[(outputPos++)] = 'T';
          output[(outputPos++)] = 'H';
          break;
        case '?': 
          output[(outputPos++)] = 'T';
          output[(outputPos++)] = 'Z';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 't';
          output[(outputPos++)] = ')';
          break;
        case '?': 
          output[(outputPos++)] = 't';
          output[(outputPos++)] = 'c';
          break;
        case '�': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 't';
          output[(outputPos++)] = 'h';
          break;
        case '?': 
          output[(outputPos++)] = 't';
          output[(outputPos++)] = 's';
          break;
        case '?': 
          output[(outputPos++)] = 't';
          output[(outputPos++)] = 'z';
          break;
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'U';
          break;
        case '�': 
        case '�': 
        case '�': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'u';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'u';
          output[(outputPos++)] = ')';
          break;
        case '?': 
          output[(outputPos++)] = 'u';
          output[(outputPos++)] = 'e';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'V';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'v';
          break;
        case '?': 
          output[(outputPos++)] = 'V';
          output[(outputPos++)] = 'Y';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'v';
          output[(outputPos++)] = ')';
          break;
        case '?': 
          output[(outputPos++)] = 'v';
          output[(outputPos++)] = 'y';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'W';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'w';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'w';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'X';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'x';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'x';
          output[(outputPos++)] = ')';
          break;
        case '�': 
        case '?': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'Y';
          break;
        case '�': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'y';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'y';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'Z';
          break;
        case '?': 
        case '?': 
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = 'z';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = 'z';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = '0';
          break;
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = '1';
          break;
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '1';
          output[(outputPos++)] = ')';
          break;
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = '2';
          break;
        case '?': 
          output[(outputPos++)] = '2';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '2';
          output[(outputPos++)] = ')';
          break;
        case '�': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = '3';
          break;
        case '?': 
          output[(outputPos++)] = '3';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '3';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = '4';
          break;
        case '?': 
          output[(outputPos++)] = '4';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '4';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = '5';
          break;
        case '?': 
          output[(outputPos++)] = '5';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '5';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = '6';
          break;
        case '?': 
          output[(outputPos++)] = '6';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '6';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = '7';
          break;
        case '?': 
          output[(outputPos++)] = '7';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '7';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = '8';
          break;
        case '?': 
          output[(outputPos++)] = '8';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '8';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = '9';
          break;
        case '?': 
          output[(outputPos++)] = '9';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '9';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
        case '?': 
        case '?': 
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '0';
          break;
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '0';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '0';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '1';
          break;
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '1';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '2';
          break;
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '2';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '2';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '3';
          break;
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '3';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '3';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '4';
          break;
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '4';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '4';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '5';
          break;
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '5';
          output[(outputPos++)] = '.';
          break;
        case '?': 
          output[(outputPos++)] = '(';
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '5';
          output[(outputPos++)] = ')';
          break;
        case '?': 
        case '?': 
          output[(outputPos++)] = '1';
          output[(outputPos++)] = '6';
          break;
        case '?': 
          output[(outputPos++)] = '1';
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2017. Infinite Loop Ltd