package com.skraylabs.poker.model;

/**
 * Ranks of playing cards.
 */
public enum Rank {
  Ace,
  King,
  Queen,
  Jack,
  Ten,
  Nine,
  Eight,
  Seven,
  Six,
  Five,
  Four,
  Three,
  Two
}

@@ -92,16 +92,24 @@
  Ace
+ (14, 1)
 ,%0A  King
 ,%0A  
@@ -104,16 +104,21 @@
 ,%0A  King
+ (13)
 ,%0A  Quee
@@ -122,16 +122,21 @@
 ueen
+ (12)
 ,%0A  Jack
 ,%0A  
@@ -135,23 +135,33 @@
 Jack
+ (11)
 ,%0A  Ten
+ (10)
 ,%0A  Nine
 ,%0A  
@@ -156,16 +156,20 @@
 ,%0A  Nine
+ (9)
 ,%0A  Eigh
@@ -169,16 +169,20 @@
 %0A  Eight
+ (8)
 ,%0A  Seve
@@ -186,23 +186,31 @@
 even
+ (7)
 ,%0A  Six
+ (6)
 ,%0A  Five
 ,%0A  
@@ -209,16 +209,20 @@
 Five
+ (5)
 ,%0A  Four
 ,%0A  
@@ -217,16 +217,20 @@
 ,%0A  Four
+ (4)
 ,%0A  Thre
@@ -234,14 +234,671 @@
 hree
+ (3)
 ,%0A  Two
+ (2);%0A%0A  private final int aceHighValue;%0A  private final int aceLowValue;%0A%0A  Rank(int aceHighValue, int aceLowValue) %7B%0A    this.aceHighValue = aceHighValue;%0A    this.aceLowValue = aceLowValue;%0A  %7D%0A%0A  Rank(int aceHighValue) %7B%0A    this(aceHighValue, aceHighValue);%0A  %7D%0A%0A  /**%0A   * Get relative rank value.%0A   *%0A   * %3Cp%3E%0A   * Aces high: Ace is a %2214%22.%0A   * @return relative value with Aces high.%0A   */%0A  public int aceHighValue() %7B%0A    return this.aceHighValue;%0A  %7D%0A%0A  /**%0A   * Get relative rank value.%0A   *%0A   * %3Cp%3E%0A   * Aces low: Ace is a %221%22.%0A   * @return relative value with Aces low.%0A   */%0A  public int aceLowValue() %7B%0A    return this.aceLowValue;%0A  %7D
 %0A%7D%0A

Define relative integer values for Rank enum.