|
|
Re: Using enum in eclipse [message #982258 is a reply to message #982061] |
Tue, 13 November 2012 02:35 |
lan zhang Messages: 3 Registered: November 2012 |
Junior Member |
|
|
Yes, she is one of my colleague.
Is there a method in Eclipse that I can specify the compiler to use? like javac?
The code is very big, but I can give you an example:
public Enum TempType(){
IDA,IDB,IDC...
}
TempType include more than 2300 enum items defined.
And in other class, there is the switch like:
public class TempTypeB(OtherType outerSwitch, TempType ttName){
switch(oterSwitch):
case aaa:
{
switch (ttName):
case IDA:
//do something;
break;
case IDB:
// do something
break;
...
}
...
}
}
The code is very straight forward, it is a double switch, the out side is other type, the inside is enum type. We try to understand why eclipse is much slower than netbeans.
Thanks.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04251 seconds