Uses of Class game_backend.Card.Suits
Date: 2017-05-13

## Uses of Class
game_backend.Card.Suits

- Packages that use Card.Suits
  Package | Description
  --- | ---
  game_backend |

- - ### Uses of Card.Suits in game_backend

    Fields in game_backend declared as Card.Suits
    Modifier and Type | Field and Description
    --- | ---
    `private Card.Suits` | Card.`suit`

    Methods in game_backend that return Card.Suits
    Modifier and Type | Method and Description
    --- | ---
    `Card.Suits` | Card.`getSuit()` Returns the suit of the present card
    `static Card.Suits` | Card.Suits.`valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static Card.Suits[]` | Card.Suits.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in game_backend that return types with arguments of type Card.Suits
    Modifier and Type | Method and Description
    --- | ---
    `protected java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>>` | PokerRules.`computeSameSuit(Card[] cards)` Groups all cards with the same suit in a list that is addressed with the respective suit in a map

    Method parameters in game_backend with type arguments of type Card.Suits
    Modifier and Type | Method and Description
    --- | ---
    `protected int[]` | PokerRules.`isFlush(Card[] cards, java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>> cardsSameSuit)` Indicates if the hand is a "Flush"
    `protected int[]` | PokerRules.`isFourToAFlush(Card[] cards, java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>> cardsSameSuit)` Indicates if the hand is a "Four to a flush"
    `protected int[]` | PokerRules.`isFourToAStraightFlush(Card[] cards, java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>> cardsSameSuit, java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.util.ArrayList<java.lang.Integer>>> candidateStraights)` Indicates if the hand is a "Four to a straight flush"
    `protected int[]` | PokerRules.`isFourToRoyalFlush(Card[] cards, java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>> cardsSameSuit, java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.util.ArrayList<java.lang.Integer>>> candidateStraights)` Indicates if the hand is a "Four to a royal flush"
    `protected int[]` | PokerRules.`isNToARoyalFlush(Card[] cards, int n, java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>> cardsSameSuit, java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.util.ArrayList<java.lang.Integer>>> candidateStraights)` Indicates if the hand is a "Three to a royal flush"
    `protected int[]` | PokerRules.`isRoyalFlush(Card[] cards, java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.util.ArrayList<java.lang.Integer>>> candidateStraights, java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>> cardsSameSuit)` Indicates if the hand is a "Royal flush"
    `protected int[]` | PokerRules.`isStraightFlush(Card[] cards, java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.util.ArrayList<java.lang.Integer>>> candidateStraights, java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>> cardsSameSuit)` Indicates if the hand is a "Straight flush"
    `protected int[]` | PokerRules.`isThreeToAFlushWithNHighCards(Card[] cards, int n, java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>> cardsSameSuit)` Indicates if the hand is a "Three to a flush with N high cards"
    `protected int[]` | PokerRules.`isThreeToAFlushWithNoHighCards(Card[] cards, java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>> cardsSameSuit)` Indicates if the hand is a "Three to a flush with no high cards"
    `protected int[]` | PokerRules.`isThreeToAFlushWithOneHighCard(Card[] cards, java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>> cardsSameSuit)` Indicates if the hand is a "Three to a flush with one high card"
    `protected int[]` | PokerRules.`isThreeToAFlushWithTwoHighCards(Card[] cards, java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>> cardsSameSuit)` Indicates if the hand is a "Three to a flush with two high cards"
    `protected int[]` | PokerRules.`isThreeToARoyalFlush(Card[] cards, java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>> cardsSameSuit, java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.util.ArrayList<java.lang.Integer>>> candidateStraights)` Indicates if the hand is a "Three to a royal flush"
    `protected int[]` | PokerRules.`isTwoSuitedHighCards(Card[] cards, java.util.HashMap<Card.Suits,java.util.ArrayList<java.lang.Integer>> cardsSameSuit, java.util.HashMap<Card.Ranks,java.util.ArrayList<java.lang.Integer>> cardsSameRank)` Indicates if the hand is a "Two suited high cards"

    Constructors in game_backend with parameters of type Card.Suits
    Constructor and Description
    `Card(Card.Ranks rank, Card.Suits suit)` Constructor of Card.