public class Card implements Comparable { // other methods and data fields not shown /** * Return a value according to whether * this Card is greater, equal to, or less than * the card passed in as parameter o. The value * returned is consistent with the specifications * of the Comparable interface's compareTo method. */ public int compareTo(Object o) { // implementation not shown return 1; } }