edu.uchicago.cs.java.lec02.console21
Class Card

java.lang.Object
  extended by edu.uchicago.cs.java.lec02.console21.Card

public class Card
extends java.lang.Object

This class is a simple bean used to store face values for a card in a blackjack game.

Version:
1.0
Author:
Adam Gerber

Field Summary
private  char cFace
           
private static java.util.Map<java.lang.Character,java.lang.Integer> map
          This map is static.
 
Constructor Summary
Card(char face)
           
 
Method Summary
 char getFace()
          This method lorem ipsum.
 int getValue()
           
 void setFace(char cFace)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cFace

private char cFace

map

private static java.util.Map<java.lang.Character,java.lang.Integer> map
This map is static.

Constructor Detail

Card

public Card(char face)
Method Detail

getFace

public char getFace()
This method lorem ipsum.

Returns:
char representing the face of the card.

setFace

public void setFace(char cFace)
Parameters:
cFace -

getValue

public int getValue()

toString

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