Class Card

java.lang.Object
mapreduce.apps.cards.core.Card

@Immutable
public final class Card
extends java.lang.Object
Author:
Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
  • Constructor Summary

    Constructors 
    Constructor Description
    Card​(Suit suit, Rank rank)  
  • Method Summary

    Modifier and Type Method Description
    Rank getRank()  
    Suit getSuit()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getSuit

      public Suit getSuit()
    • getRank

      public Rank getRank()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object