//Interface for PlayingCard
//by www.neiljohan.com

public interface PlayingCard
{
        //Get the card number (A,2-10,J,Q,K)
    public String getNumber();

        //Get the card suit (H,S,C,D)
    public String getSuit();

        //See if two cards are of the same number
    public boolean SameNumber(final Object pObject);

        //See if two cards are of the same suit
    public boolean SameSuit(final Object pObject);

        //Checks to see if it is a valid card
    public boolean isValidCard();

        //Prints out the card eg 3:H
    public String toString();
    
        //Compares 2 PlayingCard objects
    public boolean equals(final Object pObject);
}
