Uses of Class
program4.GoFishCard

Uses of GoFishCard in program4
 

Fields in program4 with type parameters of type GoFishCard
private  java.util.LinkedList<GoFishCard> Hand.hand
          LinkList of GoFish Cards
 

Methods in program4 that return GoFishCard
 GoFishCard Player.getCardAt(int index)
          returns the card at a specified index in the hand
 GoFishCard Hand.getCardAt(int index)
          Returns the card at the specified position in this list.
 

Methods in program4 that return types with arguments of type GoFishCard
 java.util.LinkedList<GoFishCard> Hand.findRank(int rank)
          Finds and returns all cards of the specified rank
 java.util.LinkedList<GoFishCard> Player.getCard(int rank)
          Returns the cards of a specified rank as a Linkedlist
 java.util.LinkedList<GoFishCard> Player.getCards(int rank)
          Returns all of the cards of the specified rank as a LinkedList
 java.util.LinkedList<GoFishCard> Hand.getCards(int rank)
          Returns a list of cards of a specified rank
 java.util.LinkedList<GoFishCard> Hand.getHand()
          Returns the hand as LinkedList of GoFish cards
 

Methods in program4 with parameters of type GoFishCard
 void Player.addCard(GoFishCard card)
          Adds a card to the hand
 int GoFishCard.compareTo(GoFishCard otherCard)
           
 boolean GoFishCard.equals(GoFishCard otherCard)
           
 void Hand.insertByRank(GoFishCard card)
          Adds a Card to the hand, the hand is sorted by rank
 

Method parameters in program4 with type arguments of type GoFishCard
 void Player.addCards(java.util.LinkedList<GoFishCard> otherHand)
          Adds a LinkList of Cards to the hand
 void Hand.insertHand(java.util.Collection<? extends GoFishCard> otherHand)
          Adds a LinkList of Cards to the hand, the hand is sorted by rank