8 lines
182 B
Java
8 lines
182 B
Java
|
//: enumerated/Competitor.java
|
||
|
// Switching one enum on another.
|
||
|
package enumerated;
|
||
|
|
||
|
public interface Competitor<T extends Competitor<T>> {
|
||
|
Outcome compete(T competitor);
|
||
|
} ///:~
|