package strength;

/**
 * 
 */
public abstract class PokerHandRanking implements Comparable<PokerHandRanking> {

	public final PokerHandKind handKind;

	public PokerHandRanking(final PokerHandKind handKind) {
		this.handKind = handKind;
	}
	
}

@@ -20,13 +20,418 @@
 %0D%0A/*
-*
 %0D%0A *
+ Note: this class implements Comparable in a peculiar way. One is supposed%0D%0A * to call the compareTo() method only on two instances of the same subclass.%0D%0A * For instance, if o1 and o2 are instances of PairRanking, the%0D%0A * comparison o1.compareTo(o2) will work.%0D%0A * But if o1 is an instance of PairRanking and o2 is an instance%0D%0A * of StraightRanking, then o1.compareTo(o2) will throw a ClassCastException.
  %0D%0A 

Add a comment about how PokerHandRanking implements Comparable