当我说:
final static char [] BASES = new char[]{'A', 'T', 'C', 'G'};
.
.
char c= in.charAt(i);
switch(c){
case BASES[0] : break;
case BASES[1] : packed =(char) (packed | 1); break;
.
.
.
}
但如果我说:
final static char a ='A';
final static char t ='T';
switch(c){
case a : break;
...
快乐吗?我觉得我在这里很厚。:-/