OnJava8-Examples/enumerated/Competitor.java
2015-05-29 14:18:51 -07:00

9 lines
223 B
Java

//: enumerated/Competitor.java
// ©2015 MindView LLC: see Copyright.txt
// Switching one enum on another.
package enumerated;
public interface Competitor<T extends Competitor<T>> {
Outcome compete(T competitor);
} ///:~