renamed all modules
This commit is contained in:
21
testdata/src/main/java/enumtests/ColoursB3.java
vendored
Normal file
21
testdata/src/main/java/enumtests/ColoursB3.java
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
package enumtests;
|
||||
|
||||
public enum ColoursB3 implements Intface3 {
|
||||
Red(111), Green(222), Blue(333);
|
||||
|
||||
int value;
|
||||
|
||||
private ColoursB3(int i) {
|
||||
this.value = i;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getIntValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getDoubleIntValue() {
|
||||
return value * 2;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user