问题描述
- 求解 这段 JAVA 代码 怎么改 才能运行 太晕了
-
public static char[] a(char[] paramArrayOfChar)
{
char[] arrayOfChar1 = new char[12];
char[] arrayOfChar2 = new char[12];
arrayOfChar2[0] = '?';
arrayOfChar2[1] = '?';
arrayOfChar2[2] = 'o';
arrayOfChar2[3] = '/';
arrayOfChar2[4] = '37';
arrayOfChar2[5] = '36';
arrayOfChar2[6] = '?';
arrayOfChar2[7] = 'E';
int i = 0;
int j = 0;
int k;
while (true)
{
if (j >= 15);
do
{
arrayOfChar1[i] = (char)(arrayOfChar1[i] ^ arrayOfChar2[i]);
arrayOfChar1[8] = 'W';
arrayOfChar1[9] = '?';
arrayOfChar1[11] = '00';
arrayOfChar1[10] = '00';
k = 0;
if (k < 10)
break;
arrayOfChar1[10] = (char)(0xFF & arrayOfChar1[10]);
arrayOfChar1[11] = (char)(0xFF & arrayOfChar1[11]);
return arrayOfChar1;
if ((paramArrayOfChar[j] < '0') || (paramArrayOfChar[j] > '9'))
return null;
arrayOfChar1[i] = (char)('?' + paramArrayOfChar[j]);
}
while (j >= 14);
if ((paramArrayOfChar[(j + 1)] < '0') || (paramArrayOfChar[(j + 1)] > '9'))
return null;
arrayOfChar1[i] = (char)(arrayOfChar1[i] + ('?' + paramArrayOfChar[(j + 1)] << 4));
arrayOfChar1[i] = (char)(arrayOfChar1[i] ^ arrayOfChar2[i]);
j = 1 + (j + 1);
i++;
}
int m = k & 0x1;
Boolean.valueOf(false);
Boolean localBoolean;
if (m == 0)
{
localBoolean = Boolean.valueOf(false);
label267: if (!localBoolean.booleanValue())
break label304;
arrayOfChar1[11] = (char)(arrayOfChar1[11] + arrayOfChar1[k]);
}
while (true)
{
k++;
break;
localBoolean = Boolean.valueOf(true);
break label267;
label304: arrayOfChar1[10] = (char)(arrayOfChar1[10] + arrayOfChar1[k]);
}
}
解决方案
不知道你是要改成什么呢?
时间: 2024-11-01 19:47:12