Package org.cspoker.common.elements.cards

Examples of org.cspoker.common.elements.cards.Rank


    cardMap = new HashMap<CardShell, Card>();

    final Deck deck = Deck.createTruelyRandomDeck();
    final List<Card> list = deck.deal(52);
    for (final Card card : list) {
      final Rank rank = card.getRank();
      final Suit suit = card.getSuit();

      cardMap.put(new CardShell(rank, suit), card);
    }
  }
View Full Code Here

TOP

Related Classes of org.cspoker.common.elements.cards.Rank

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.