A C D E F G H I J K L M N P Q R S T W

A

AbstractIntelligence - class inonit.domain.game.card.hearts.ai.AbstractIntelligence.
An implementation of Intelligence which includes a knowledge representation of the current Game.
AbstractIntelligence() - Constructor for class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Constructor used by subclasses.
ACE - Static variable in class inonit.domain.game.card.Rank
 
ACE_CLUBS - Static variable in class inonit.domain.game.card.Card
 
ACE_DIAMONDS - Static variable in class inonit.domain.game.card.Card
 
ACE_HEARTS - Static variable in class inonit.domain.game.card.Card
 
ACE_HIGH - Static variable in class inonit.domain.game.card.Rank.Order
An ordering as follows: 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King, Ace.
ACE_LOW - Static variable in class inonit.domain.game.card.Rank.Order
An ordering as follows: Ace, 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King.
ACE_SPADES - Static variable in class inonit.domain.game.card.Card
 
add(Card) - Method in class inonit.domain.game.card.CardArray
Appends the given Card to the end of this CardArray.
add(CardArray) - Method in class inonit.domain.game.card.CardArray
Appends the Cards (if any) in the given CardArray to the end of this CardArray.
add(Score) - Method in class inonit.domain.game.card.hearts.Score
 

C

Card - class inonit.domain.game.card.Card.
A playing card, with a Rank and a Suit.
Card.Order - class inonit.domain.game.card.Card.Order.
A logical ordering of a set of Cards.
Card.Order() - Constructor for class inonit.domain.game.card.Card.Order
Constructor used by subclasses.
CardArray - class inonit.domain.game.card.CardArray.
An ordered collection of Card objects, which can be manipulated in various ways.
CardArray() - Constructor for class inonit.domain.game.card.CardArray
Creates a new, empty CardArray.
CardArray(Card[]) - Constructor for class inonit.domain.game.card.CardArray
Creates a new CardArray, initialized with the given Cards.
cardPlayed(Intelligence.Play) - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that a card has been played.
cardPlayed(Intelligence.Play) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Updates the Game object, and then invokes cardPlayedEvent.
cardPlayedEvent(int, Card) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
checkLegalPlay(CardArray[], CardArray, CardArray, Card) - Method in interface inonit.domain.game.card.hearts.Rules
 
CLUBS - Static variable in class inonit.domain.game.card.Suit
 
combine(CardArray[]) - Static method in class inonit.domain.game.card.CardArray
Returns the aggregation of the given CardArrays.
compare(Card, Card) - Method in class inonit.domain.game.card.Card.Order
Should return the correct Sort.Action to take when comparing Cards.
compare(Object, Object) - Method in interface inonit.domain.game.card.Sort.Order
Returns a Sort.Action corresponding to this Order given the two objects.
compare(Object, Object) - Method in class inonit.domain.game.card.Card.Order
Implements the Sort.Order.compare method by invoking this object's Card.Order.compare(Card,Card) method.
compose(Sort.Order[]) - Static method in class inonit.domain.game.card.Sort
Returns an Order which is a composite of the given Orders.
contains(Card) - Method in class inonit.domain.game.card.CardArray
Returns whether this CardArray contains the given Card.
containsAll(CardArray) - Method in class inonit.domain.game.card.CardArray
Returns whether this CardArray contains all of the Cards in the given CardArray.
containsOne(CardArray) - Method in class inonit.domain.game.card.CardArray
Returns whether this CardArray contains at least one Card which is also contained in the given CardArray.
copy() - Method in class inonit.domain.game.card.CardArray
Returns a copy of this CardArray.
create(Intelligence.Environment) - Method in class inonit.domain.game.card.hearts.Entrant
 
createIntelligence() - Method in interface inonit.domain.game.card.hearts.Game.Participant
 
createStorage(int) - Method in interface inonit.domain.game.card.hearts.Game.Participant
 
createStorage(int) - Method in class inonit.domain.game.card.hearts.Entrant
 

D

destroy() - Method in class inonit.domain.game.card.hearts.Entrant
 
destroy() - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that it is about to be destroyed.
destroy() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Invokes destroyEvent.
destroyEvent() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
destroyIntelligence(Intelligence) - Method in interface inonit.domain.game.card.hearts.Game.Participant
 
DIAMONDS - Static variable in class inonit.domain.game.card.Suit
 

E

EIGHT - Static variable in class inonit.domain.game.card.Rank
 
EIGHT_CLUBS - Static variable in class inonit.domain.game.card.Card
 
EIGHT_DIAMONDS - Static variable in class inonit.domain.game.card.Card
 
EIGHT_HEARTS - Static variable in class inonit.domain.game.card.Card
 
EIGHT_SPADES - Static variable in class inonit.domain.game.card.Card
 
Entrant - class inonit.domain.game.card.hearts.Entrant.
Unsupported.
Entrant.Registration - interface inonit.domain.game.card.hearts.Entrant.Registration.
Unsupported.
Entrant(Game.Participant, Entrant.Registration) - Constructor for class inonit.domain.game.card.hearts.Entrant
 
EQUAL - Static variable in class inonit.domain.game.card.Sort.Action
An Action indicating that the two objects are equal in this ordering and can be placed in arbitrary order.
equals(Object) - Method in class inonit.domain.game.card.Rank
Returns whether this Rank is equal to the given object.
equals(Object) - Method in class inonit.domain.game.card.Suit
Returns whether the given object is equal to this object.
equals(Object) - Method in class inonit.domain.game.card.Card
Returns whether this object equals the given Object.
exceptionThrown(String) - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that an exception was thrown from one of its methods (other than getPass or getPlay; an Intelligence is informed of exceptions from these methods via passIgnored and playIgnored, respectively); may be useful for debugging.
exceptionThrown(String) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.

F

FIVE - Static variable in class inonit.domain.game.card.Rank
 
FIVE_CLUBS - Static variable in class inonit.domain.game.card.Card
 
FIVE_DIAMONDS - Static variable in class inonit.domain.game.card.Card
 
FIVE_HEARTS - Static variable in class inonit.domain.game.card.Card
 
FIVE_SPADES - Static variable in class inonit.domain.game.card.Card
 
FOUR - Static variable in class inonit.domain.game.card.Rank
 
FOUR_CLUBS - Static variable in class inonit.domain.game.card.Card
 
FOUR_DIAMONDS - Static variable in class inonit.domain.game.card.Card
 
FOUR_HEARTS - Static variable in class inonit.domain.game.card.Card
 
FOUR_SPADES - Static variable in class inonit.domain.game.card.Card
 

G

Game - class inonit.domain.game.card.hearts.Game.
Unsupported.
Game - class inonit.domain.game.card.hearts.ai.Game.
A game of Hearts.
Game.Participant - interface inonit.domain.game.card.hearts.Game.Participant.
Unsupported.
Game.Participant.InstantiationFailure - exception inonit.domain.game.card.hearts.Game.Participant.InstantiationFailure.
Unsupported.
Game.Participant.InstantiationFailure(Throwable) - Constructor for class inonit.domain.game.card.hearts.Game.Participant.InstantiationFailure
 
Game(Entrant[], Rules, PrintWriter) - Constructor for class inonit.domain.game.card.hearts.Game
 
gameEnded() - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that the game in which it was participating has ended.
gameEnded() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Invokes gameEndedEvent, and then discards the Game object.
gameEndedEvent(Game) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
gameStarting(Intelligence.Game) - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that a game is starting, and provides a Game object representing the current game.
gameStarting(Intelligence.Game) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Creates a Game object which is associated with the game argument, and then invokes gameStartingEvent.
gameStartingEvent(Intelligence.Game) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
get() - Method in class inonit.domain.game.card.CardArray
Returns an array containing the Cards in this CardArray.
get() - Static method in class inonit.domain.game.card.hearts.Hearts
Returns an instance of the Hearts class.
get(int) - Method in class inonit.domain.game.card.CardArray
Returns the Card at the given index in this CardArray.
get(Rank, Suit) - Static method in class inonit.domain.game.card.Card
Returns a Card object of the given Rank and Suit.
get(Suit) - Method in class inonit.domain.game.card.CardArray
Returns a CardArray containing the Cards in this CardArray which are of the given Suit.
getAbbreviation() - Method in class inonit.domain.game.card.Rank
Returns an abbreviation representing the value of this Rank.
getAbbreviation() - Method in class inonit.domain.game.card.Card
Returns an abbreviated string representation of this card.
getAscendingOrder() - Method in class inonit.domain.game.card.Rank.Order
Returns a Sort.Order which will sort a set of Cards (not Ranks) into ascending order, as specified by this Rank.Order.
getCapacity() - Method in interface inonit.domain.game.card.hearts.Intelligence.Environment.Storage
Returns the number of bytes which can be stored in this Storage.
getCapacity() - Method in class inonit.domain.game.card.hearts.ai.Storage
Returns the number of bytes this Storage can hold.
getCard() - Method in interface inonit.domain.game.card.hearts.Intelligence.Play
Returns the card played.
getCard(int) - Method in class inonit.domain.game.card.hearts.ai.Pass
Returns the card at a particular index position in this pass.
getCardPlayedBy(int) - Method in class inonit.domain.game.card.hearts.ai.Trick
Returns the Card played by the Intelligence at the given player index on this Trick, or null if the Intelligence at index has not played a Card on this Trick yet.
getCards() - Method in interface inonit.domain.game.card.hearts.Intelligence.Pass
Returns the set of cards that was passed.
getCards() - Method in interface inonit.domain.game.card.hearts.Intelligence.Kitty
Returns the cards that were in the kitty, if this Intelligence is permitted to see them.
getCards() - Method in class inonit.domain.game.card.hearts.ai.Kitty
Returns a copy of the CardArray containing the Cards in this Kitty, or null if this AbstractIntelligence is not allowed to see them.
getCards() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns the Cards currently in this AbstractIntelligence's hand.
getCards() - Method in class inonit.domain.game.card.hearts.ai.Trick
Returns a new CardArray containing the Cards, in order, which have been played in this Trick.
getCards() - Method in class inonit.domain.game.card.hearts.ai.Pass
Returns the set of cards included in this pass.
getConfiguration() - Method in class inonit.domain.game.card.hearts.ai.Game
Returns the Intelligence.Game object associated with this Game.
getCount(Suit) - Method in class inonit.domain.game.card.CardArray
Returns the number of cards in this CardArray which are of the given Suit.
getCurrentHand() - Method in class inonit.domain.game.card.hearts.ai.Game
Returns the current Hand.
getCurrentTrick() - Method in class inonit.domain.game.card.hearts.ai.Hand
Returns the current Trick in this Hand.
getDeal() - Method in interface inonit.domain.game.card.hearts.Intelligence.Hand
Returns the cards dealt to this Intelligence.
getDeck() - Method in interface inonit.domain.game.card.hearts.Rules
 
getDeck() - Method in interface inonit.domain.game.card.hearts.Intelligence.Game.Rules
Returns the deck that will be used.
getDeck() - Method in class inonit.domain.game.card.hearts.ai.Rules
Returns the deck under these rules.
getDefaultName() - Method in interface inonit.domain.game.card.hearts.Game.Participant
 
getDescendingOrder() - Method in class inonit.domain.game.card.Rank.Order
Returns a Sort.Order which will sort a set of Cards (not Ranks) into descending order, as specified by this Rank.Order.
getEnvironment() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns an object which contains services provided by, and information about, the environment in which this AbstractIntelligence is running.
getGame() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns an object representing the current Game.
getHand() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns a object representing the current Hand.
getHandDealt() - Method in class inonit.domain.game.card.hearts.ai.Hand
Returns a copy of the CardArray that was dealt to this AbstractIntelligence during this Hand.
getHandLimit() - Method in interface inonit.domain.game.card.hearts.Rules
 
getHandTimeLimit() - Method in interface inonit.domain.game.card.hearts.Game.Participant
 
getId() - Method in interface inonit.domain.game.card.hearts.Game.Participant
 
getKitty() - Method in class inonit.domain.game.card.hearts.ai.Trick
Returns the Kitty associated with this Trick, if any.
getKittySize() - Method in class inonit.domain.game.card.hearts.ai.Rules
Returns the size of the "kitty" under these rules.
getLed() - Method in class inonit.domain.game.card.hearts.ai.Trick
Returns the player index of the Intelligence who led, or will lead, this Trick.
getLegalPlays() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns a CardArray containing the Cards which would be legal to play if this AbstractIntelligence is playing next.
getLength() - Method in class inonit.domain.game.card.CardArray
Returns the current number of Cards in this CardArray.
getLog() - Method in interface inonit.domain.game.card.hearts.Intelligence.Game
Returns the Intelligence.Game.Log for this game.
getMaximumNumberOfPlayers() - Method in class inonit.domain.game.card.hearts.Hearts
Returns the maximum number of players permitted for a game of Hearts.
getMinimumNumberOfPlayers() - Method in class inonit.domain.game.card.hearts.Hearts
Returns the minimum number of players necessary for a game of Hearts.
getName() - Method in class inonit.domain.game.card.Rank
Returns a string representing the value of this Rank.
getName() - Method in class inonit.domain.game.card.Suit
Returns the name of this Suit.
getName() - Method in class inonit.domain.game.card.hearts.Entrant
 
getName() - Method in interface inonit.domain.game.card.hearts.Entrant.Registration
 
getNumberOfPlayers() - Method in interface inonit.domain.game.card.hearts.Rules
 
getNumberOfPlayers() - Method in interface inonit.domain.game.card.hearts.Intelligence.Game.Rules
Returns the number of players in this Intelligence.Game.
getPass() - Method in interface inonit.domain.game.card.hearts.Intelligence
Invoked to ask this Intelligence for Cards to pass to another player.
getPass() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
 
getPass(int) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Should return a CardArray containing the number of cards indicated by the numberToPass argument.
getPassReceived() - Method in class inonit.domain.game.card.hearts.ai.Hand
Returns a copy of the pass received from another player during the pass stage of this Hand.
getPassSent() - Method in class inonit.domain.game.card.hearts.ai.Hand
Returns a copy of the pass sent to another player during the pass stage of this Hand.
getPassSize() - Method in interface inonit.domain.game.card.hearts.Rules
 
getPassSize() - Method in interface inonit.domain.game.card.hearts.Intelligence.Hand
Returns the number of cards to be passed in this Hand.
getPlay() - Method in interface inonit.domain.game.card.hearts.Intelligence
Invoked to ask this Intelligence to play a Card.
getPlay() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Should return the Card this AbstractIntelligence wishes to play.
getPlayer() - Method in interface inonit.domain.game.card.hearts.Intelligence.Play
Returns the index of the Intelligence that played a card.
getPlayer() - Method in interface inonit.domain.game.card.hearts.Intelligence.Kitty
Returns the index of the player who took the kitty.
getPlayer(Card) - Method in interface inonit.domain.game.card.hearts.Intelligence.Pass
Returns the player to/from whom a particular Card was passed.
getPlayer(int) - Method in class inonit.domain.game.card.hearts.ai.Pass
Returns the player who passed/received the card at a particular index in this pass.
getPlayerToLead() - Method in interface inonit.domain.game.card.hearts.Intelligence.Trick
Returns the index of the Intelligence who will lead this trick.
getPlayerWhoTook() - Method in interface inonit.domain.game.card.hearts.Intelligence.Trick
Returns the index of the player who took this trick.
getPosition() - Method in class inonit.domain.game.card.hearts.ai.Storage
Returns the current position of the cursor.
getPreviousHands() - Method in class inonit.domain.game.card.hearts.ai.Game
Returns the previous Hands played in this Game.
getPreviousTricks() - Method in class inonit.domain.game.card.hearts.ai.Hand
Returns the previous Tricks which have taken place during this Hand.
getRank() - Method in class inonit.domain.game.card.Card
Returns the Rank of this Card.
getRankOrder() - Method in class inonit.domain.game.card.hearts.Hearts
Returns the Rank.Order which defines which Cards are higher or lower than others in the game of Hearts.
getRanks() - Method in class inonit.domain.game.card.hearts.Hearts
Returns an array containing the Rank objects typically included in a Hearts deck.
getRules() - Method in interface inonit.domain.game.card.hearts.Intelligence.Game
Returns the Intelligence.Game.Rules for this game.
getRules() - Method in class inonit.domain.game.card.hearts.ai.Game
Returns an object representing the rules of this game.
getRules() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns an object representing the rules of the current game.
getScore() - Method in class inonit.domain.game.card.hearts.Score
 
getScore() - Method in class inonit.domain.game.card.hearts.ai.Game
Returns the current score of the Game.
getScore() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns the current score of the Game.
getScoreLimit() - Method in interface inonit.domain.game.card.hearts.Rules
 
getScores() - Method in interface inonit.domain.game.card.hearts.Intelligence.Hand
Returns the scores recorded for this hand.
getScores() - Method in class inonit.domain.game.card.hearts.ai.Hand
Returns a copy of the scores for this Hand.
getSize() - Method in interface inonit.domain.game.card.hearts.Intelligence.Kitty
Returns the size of the kitty.
getSize() - Method in class inonit.domain.game.card.hearts.ai.Kitty
Returns the number of Cards in this Kitty.
getSize() - Method in class inonit.domain.game.card.hearts.ai.Pass
Returns the number of cards in this pass.
getStorage() - Method in interface inonit.domain.game.card.hearts.Intelligence.Environment
Returns a Storage from which data may be read, or to which data may be written, which will persist after an Intelligence is destroyed.
getStorage() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns a Storage object associated with the Intelligence.Environment.Storage object from this AbstractIntelligence's Intelligence.Environment.
getSuit() - Method in class inonit.domain.game.card.Card
Returns the Suit of this Card.
getSuits() - Method in class inonit.domain.game.card.hearts.Hearts
Returns an array containing the Suit objects representing the suits normally used in Hearts.
getSymbol() - Method in class inonit.domain.game.card.Suit
Returns a character symbol for this Suit, e.g., '♣' for Suit.CLUBS.
getTakeAllCards() - Method in interface inonit.domain.game.card.hearts.Rules
 
getTakeAllCards() - Method in interface inonit.domain.game.card.hearts.Intelligence.Game.Rules
Returns the set of Cards which must be taken by a single player in order to execute a take-all.
getTakeAllCards() - Method in class inonit.domain.game.card.hearts.ai.Rules
Returns the set of cards required for a take-all under these rules.
getTakeAllScore() - Method in interface inonit.domain.game.card.hearts.Rules
 
getTakeAllScore() - Method in interface inonit.domain.game.card.hearts.Intelligence.Game.Rules
Returns the number of points that are awarded for a take-all.
getTakeAllScore() - Method in class inonit.domain.game.card.hearts.ai.Rules
Returns the number of points a take-all is worth under these rules.
getTook() - Method in class inonit.domain.game.card.hearts.ai.Trick
Returns the index of the Intelligence which took this Trick, or -1 if the trick is not over or the information is not known yet (i.e., Intelligence.trickEnded has not been invoked yet).
getTrick() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns an object representing the current Trick.
getTricks() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns an array of objects representing of the previous Tricks in this hand, not including the current Trick.
getValue(Card) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns the point (scoring) value (as determined by Rules.getValue(CardArray) of the given Card in the current Game.
getValue(CardArray) - Method in interface inonit.domain.game.card.hearts.Rules
 
getValue(CardArray) - Method in interface inonit.domain.game.card.hearts.Intelligence.Game.Rules
Returns the total point (scoring) value of the cards in the given CardArray, as if they were the cards taken in a particular hand.
getValue(CardArray) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns the point (scoring) value (as determined by Rules.getValue of the given CardArray in the current Game.
getValue(Rank) - Method in class inonit.domain.game.card.Rank.Order
Returns the value of a particular Rank in this ordering.
getVersionNumber() - Method in class inonit.domain.game.card.hearts.Hearts
Returns the installed version of Hearts.

H

Hand - class inonit.domain.game.card.hearts.ai.Hand.
Information about a particular hand within a Game, in the sense of a complete deal and play of all the cards, not in the sense of the cards that a player is holding.
handDealtEvent(CardArray) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
handEnded() - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that the current hand has ended.
handEnded() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Updates the Game object, and then invokes handScoredEvent.
handScoredEvent(int[]) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
handStarting(Intelligence.Hand) - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that a hand has been dealt, and provides it with a Intelligence.Hand object representing the current hand.
handStarting(Intelligence.Hand) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Updates the Game object, and then invokes handDealtEvent.
hashCode() - Method in class inonit.domain.game.card.Rank
Returns a hash code for this object.
hashCode() - Method in class inonit.domain.game.card.Suit
Returns a hash code for this object.
hashCode() - Method in class inonit.domain.game.card.Card
Returns a hash code for this object.
Hearts - class inonit.domain.game.card.hearts.Hearts.
Root class containing some methods specific to the game of Hearts.
HEARTS - Static variable in class inonit.domain.game.card.Suit
 

I

initialize(Intelligence.Environment) - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that it has been instantiated, and provides it with an Environment from which it can obtain various services.
initialize(Intelligence.Environment) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
 
initializeEvent(Intelligence.Environment) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
inonit.domain.game.card - package inonit.domain.game.card
A set of classes representing constructs commonly used in card games.
inonit.domain.game.card.hearts - package inonit.domain.game.card.hearts
Classes related to the card game Hearts.
inonit.domain.game.card.hearts.ai - package inonit.domain.game.card.hearts.ai
An abstract Intelligence implementation and associated classes which represent current Game state.
Intelligence - interface inonit.domain.game.card.hearts.Intelligence.
An object capable of playing Hearts.
Intelligence.Environment - interface inonit.domain.game.card.hearts.Intelligence.Environment.
An object which can provide an Intelligence with services from, or information about, the environment in which it is running.
Intelligence.Environment.Storage - interface inonit.domain.game.card.hearts.Intelligence.Environment.Storage.
An object which can be used by an Intelligence to persist data.
Intelligence.Game - interface inonit.domain.game.card.hearts.Intelligence.Game.
An object which can provide information to Intelligences about a game in which they are participating.
Intelligence.Game.Log - interface inonit.domain.game.card.hearts.Intelligence.Game.Log.
A log for a particular game.
Intelligence.Game.Rules - interface inonit.domain.game.card.hearts.Intelligence.Game.Rules.
An object which an Intelligence can use to determine the rules under which a Game is being played.
Intelligence.Hand - interface inonit.domain.game.card.hearts.Intelligence.Hand.
An object which can provide information to Intelligence objects about a hand in which they are participating.
Intelligence.Kitty - interface inonit.domain.game.card.hearts.Intelligence.Kitty.
An object representing a "kitty" -- a set of leftover cards which is distributed to one of the players in a game in which the deck is not evenly divisible among the players.
Intelligence.Pass - interface inonit.domain.game.card.hearts.Intelligence.Pass.
An object containing information about a particular set of cards that was passed.
Intelligence.Play - interface inonit.domain.game.card.hearts.Intelligence.Play.
An object representing a card played.
Intelligence.Trick - interface inonit.domain.game.card.hearts.Intelligence.Trick.
An object representing a trick in which this Intelligence is participating.
intersection(CardArray[]) - Static method in class inonit.domain.game.card.CardArray
Returns a CardArray containing all of the Cards that are found in all the argument CardArrays.
isEmpty() - Method in class inonit.domain.game.card.CardArray
Returns whether this CardArray is currently empty.
isHigher(Card, Card) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns whether the first Card is higher than the second, by Rank only.
isHigher(Card, Rank) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns whether the given Card is higher than the given Rank.
isKittyBlind() - Method in interface inonit.domain.game.card.hearts.Rules
 
isLegalPlay(CardArray[], CardArray, CardArray, Card) - Method in interface inonit.domain.game.card.hearts.Intelligence.Game.Rules
Returns whether a particular Card would be a legal play for a player under these Rules, given the situation defined by the previousTricks, currentTrick, and hand arguments.
isLower(Card, Card) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns whether the first Card is lower than the second, by Rank only.
isLower(Card, Rank) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns whether the given Card is lower than the given Rank.
isSameRankAs(Card) - Method in class inonit.domain.game.card.Card
Returns whether the given Card and this Card have the same Rank.
isSameSuit(Card, Card) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns whether the given two Cards are of the same suit.
isSameSuitAs(Card) - Method in class inonit.domain.game.card.Card
Returns whether the given Card and this Card have the same Suit.

J

JACK - Static variable in class inonit.domain.game.card.Rank
 
JACK_CLUBS - Static variable in class inonit.domain.game.card.Card
 
JACK_DIAMONDS - Static variable in class inonit.domain.game.card.Card
 
JACK_HEARTS - Static variable in class inonit.domain.game.card.Card
 
JACK_SPADES - Static variable in class inonit.domain.game.card.Card
 

K

KING - Static variable in class inonit.domain.game.card.Rank
 
KING_CLUBS - Static variable in class inonit.domain.game.card.Card
 
KING_DIAMONDS - Static variable in class inonit.domain.game.card.Card
 
KING_HEARTS - Static variable in class inonit.domain.game.card.Card
 
KING_SPADES - Static variable in class inonit.domain.game.card.Card
 
Kitty - class inonit.domain.game.card.hearts.ai.Kitty.
A set of Cards left over after dealing in a Game where the Cards in the deck are not evenly divisible by the number of players.
kittyTaken(Intelligence.Kitty) - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that a player has taken the kitty for this hand.
kittyTaken(Intelligence.Kitty) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Updates the Game object, and then invokes tookKittyEvent.

L

LEAVE - Static variable in class inonit.domain.game.card.Sort.Action
An Action indicating that the two objects are already in the correct order.
log(Object) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Write a log message to the game log; the log message will indicate the player responsible for writing it.
log(String) - Method in interface inonit.domain.game.card.hearts.Intelligence.Game.Log
Logs a message to the game log.

M

moveTo(int) - Method in class inonit.domain.game.card.hearts.ai.Storage
Causes the cursor to move to the given position.

N

NINE - Static variable in class inonit.domain.game.card.Rank
 
NINE_CLUBS - Static variable in class inonit.domain.game.card.Card
 
NINE_DIAMONDS - Static variable in class inonit.domain.game.card.Card
 
NINE_HEARTS - Static variable in class inonit.domain.game.card.Card
 
NINE_SPADES - Static variable in class inonit.domain.game.card.Card
 

P

Pass - class inonit.domain.game.card.hearts.ai.Pass.
An object representing a single pass of cards to or from a single player.
passIgnored(String) - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that the result of getPass was not used, including a String message describing why.
passIgnored(String) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
play() - Method in class inonit.domain.game.card.hearts.Game
 
players() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Returns the number of players in the current Game.
playIgnored(String) - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that the result of getPlay was not used, including a String message describing why.
playIgnored(String) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.

Q

QUEEN - Static variable in class inonit.domain.game.card.Rank
 
QUEEN_CLUBS - Static variable in class inonit.domain.game.card.Card
 
QUEEN_DIAMONDS - Static variable in class inonit.domain.game.card.Card
 
QUEEN_HEARTS - Static variable in class inonit.domain.game.card.Card
 
QUEEN_SPADES - Static variable in class inonit.domain.game.card.Card
 

R

RANDOM - Static variable in interface inonit.domain.game.card.hearts.Intelligence
An Intelligence implementation which plays randomly.
Rank - class inonit.domain.game.card.Rank.
A number or value of a particular Card.
Rank.Order - class inonit.domain.game.card.Rank.Order.
A logical ordering for Ranks; can be used to sort arrays of Cards and CardArray objects via the Sort.Orders returned by getAscendingOrder and getDescendingOrder, in conjunction with CardArray's sort method.
Rank.Order(Rank[]) - Constructor for class inonit.domain.game.card.Rank.Order
Creates an ordering of Ranks.
read(int) - Method in class inonit.domain.game.card.hearts.ai.Storage
Returns a series of bytes starting at the cursor position.
read(int, int) - Method in interface inonit.domain.game.card.hearts.Intelligence.Environment.Storage
Returns a set of bytes, starting at the specified index.
readBoolean() - Method in class inonit.domain.game.card.hearts.ai.Storage
Reads a boolean starting at the cursor position.
readByte() - Method in class inonit.domain.game.card.hearts.ai.Storage
Reads a byte starting at the cursor position.
readChar() - Method in class inonit.domain.game.card.hearts.ai.Storage
Reads a char starting at the cursor position.
readDouble() - Method in class inonit.domain.game.card.hearts.ai.Storage
Reads a double starting at the cursor position.
readFloat() - Method in class inonit.domain.game.card.hearts.ai.Storage
Reads a float starting at the cursor position.
readInt() - Method in class inonit.domain.game.card.hearts.ai.Storage
Reads an int starting at the cursor position.
readLong() - Method in class inonit.domain.game.card.hearts.ai.Storage
Reads a long starting at the cursor position.
readShort() - Method in class inonit.domain.game.card.hearts.ai.Storage
Reads a short starting at the cursor position.
readString() - Method in class inonit.domain.game.card.hearts.ai.Storage
Reads a String starting at the cursor position.
receivedPass(Intelligence.Pass) - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that it has received cards from another player.
receivedPass(Intelligence.Pass) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Updates the Game object, and then invokes receivedPassEvent.
receivedPassEvent(Pass) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
remove(Card) - Method in class inonit.domain.game.card.CardArray
Removes at most one instance (the first) of the given Card from this CardArray.
remove(CardArray) - Method in class inonit.domain.game.card.CardArray
Removes all of the Cards in the given CardArray from this CardArray.
reverse(Sort.Order) - Static method in class inonit.domain.game.card.Sort
Returns an Order which is the reverse of the given Order.
Rules - interface inonit.domain.game.card.hearts.Rules.
Unsupported.
Rules - class inonit.domain.game.card.hearts.ai.Rules.
An object which provides information about a set of rules for Hearts.
Rules.Illegal - exception inonit.domain.game.card.hearts.Rules.Illegal.
Unsupported.
Rules.Illegal(String) - Constructor for class inonit.domain.game.card.hearts.Rules.Illegal
 

S

Score - class inonit.domain.game.card.hearts.Score.
Unsupported.
Score() - Constructor for class inonit.domain.game.card.hearts.Score
 
sentPass(Intelligence.Pass) - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that it has passed cards to another player.
sentPass(Intelligence.Pass) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Updates the Game object, and then invokes sentPassEvent.
sentPassEvent(Pass) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
SEVEN - Static variable in class inonit.domain.game.card.Rank
 
SEVEN_CLUBS - Static variable in class inonit.domain.game.card.Card
 
SEVEN_DIAMONDS - Static variable in class inonit.domain.game.card.Card
 
SEVEN_HEARTS - Static variable in class inonit.domain.game.card.Card
 
SEVEN_SPADES - Static variable in class inonit.domain.game.card.Card
 
shuffle() - Method in class inonit.domain.game.card.CardArray
Shuffles the Cards in this CardArray into random order.
SIX - Static variable in class inonit.domain.game.card.Rank
 
SIX_CLUBS - Static variable in class inonit.domain.game.card.Card
 
SIX_DIAMONDS - Static variable in class inonit.domain.game.card.Card
 
SIX_HEARTS - Static variable in class inonit.domain.game.card.Card
 
SIX_SPADES - Static variable in class inonit.domain.game.card.Card
 
Sort - class inonit.domain.game.card.Sort.
Allows a set of objects to be sorted into an arbitrary order.
Sort.Action - class inonit.domain.game.card.Sort.Action.
An action to be taken as the result of comparing two objects during a sort.
Sort.Order - interface inonit.domain.game.card.Sort.Order.
A logical ordering for a set of objects.
sort(Object[], Sort.Order) - Static method in class inonit.domain.game.card.Sort
Sorts an array into the given Sort.Order.
sort(Sort.Order) - Method in class inonit.domain.game.card.CardArray
Sorts the Cards in this CardArray into the given Sort.Order.
SPADES - Static variable in class inonit.domain.game.card.Suit
 
Storage - class inonit.domain.game.card.hearts.ai.Storage.
An object which can be used by an AbstractIntelligence for persistent storage of data.
Suit - class inonit.domain.game.card.Suit.
A suit of playing cards; Cards have a particular Suit.
SWAP - Static variable in class inonit.domain.game.card.Sort.Action
An Action indicating that the two objects are in the wrong order and should be swapped.

T

TEN - Static variable in class inonit.domain.game.card.Rank
 
TEN_CLUBS - Static variable in class inonit.domain.game.card.Card
 
TEN_DIAMONDS - Static variable in class inonit.domain.game.card.Card
 
TEN_HEARTS - Static variable in class inonit.domain.game.card.Card
 
TEN_SPADES - Static variable in class inonit.domain.game.card.Card
 
THREE - Static variable in class inonit.domain.game.card.Rank
 
THREE_CLUBS - Static variable in class inonit.domain.game.card.Card
 
THREE_DIAMONDS - Static variable in class inonit.domain.game.card.Card
 
THREE_HEARTS - Static variable in class inonit.domain.game.card.Card
 
THREE_SPADES - Static variable in class inonit.domain.game.card.Card
 
toIntelligenceRules() - Method in interface inonit.domain.game.card.hearts.Rules
 
tookKittyEvent(CardArray) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
tookKittyEvent(int, int) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
toString() - Method in class inonit.domain.game.card.Rank
Returns a string representation of this object.
toString() - Method in class inonit.domain.game.card.Suit
Returns a string representation of this Suit.
toString() - Method in class inonit.domain.game.card.CardArray
Returns a String which lists the Cards in this CardArray, which may be useful for debugging.
toString() - Method in class inonit.domain.game.card.Card
Returns a string representation of this object.
toString(Rules) - Method in class inonit.domain.game.card.hearts.Score
 
Trick - class inonit.domain.game.card.hearts.ai.Trick.
Information about a particular trick during a Hearts Hand.
trickEnded() - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that the current trick has ended.
trickEnded() - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Updates the Game object, and then invokes trickEndedEvent.
trickEndedEvent(int) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
trickStarting(Intelligence.Trick) - Method in interface inonit.domain.game.card.hearts.Intelligence
Informs this Intelligence that a trick is about to start, and provides it with a Intelligence.Trick object representing the current trick.
trickStarting(Intelligence.Trick) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
Updates the Game object, and then invokes trickStartingEvent.
trickStartingEvent(int) - Method in class inonit.domain.game.card.hearts.ai.AbstractIntelligence
The default implementation of this method does nothing.
triggersKitty(CardArray) - Method in interface inonit.domain.game.card.hearts.Rules
 
TWO - Static variable in class inonit.domain.game.card.Rank
 
TWO_CLUBS - Static variable in class inonit.domain.game.card.Card
 
TWO_DIAMONDS - Static variable in class inonit.domain.game.card.Card
 
TWO_HEARTS - Static variable in class inonit.domain.game.card.Card
 
TWO_SPADES - Static variable in class inonit.domain.game.card.Card
 

W

write(byte[]) - Method in class inonit.domain.game.card.hearts.ai.Storage
Writes a series of bytes to this Storage, starting at the cursor position.
write(int, byte[]) - Method in interface inonit.domain.game.card.hearts.Intelligence.Environment.Storage
Writes a set of bytes, starting at the specified index.
writeBoolean(boolean) - Method in class inonit.domain.game.card.hearts.ai.Storage
Writes the given boolean starting at the cursor position.
writeByte(byte) - Method in class inonit.domain.game.card.hearts.ai.Storage
Writes the given byte starting at the cursor position.
writeChar(char) - Method in class inonit.domain.game.card.hearts.ai.Storage
Writes the given char starting at the cursor position.
writeDouble(double) - Method in class inonit.domain.game.card.hearts.ai.Storage
Writes the given double starting at the cursor position.
writeFloat(float) - Method in class inonit.domain.game.card.hearts.ai.Storage
Writes the given float starting at the cursor position.
writeInt(int) - Method in class inonit.domain.game.card.hearts.ai.Storage
Writes the given int starting at the cursor position.
writeLong(long) - Method in class inonit.domain.game.card.hearts.ai.Storage
Writes the given long starting at the cursor position.
writeShort(short) - Method in class inonit.domain.game.card.hearts.ai.Storage
Writes the given short starting at the cursor position.
writeString(String) - Method in class inonit.domain.game.card.hearts.ai.Storage
Writes the given String starting at the cursor position.

A C D E F G H I J K L M N P Q R S T W