Index

A C D E F G H I J K M N P Q S T V W 
All Classes and Interfaces|All Packages|Serialized Form

A

ACE - Enum constant in enum class me.ramendev.expokert.Pip
The Ace pip, or fourteen pips by default, and in some scenarios, only worth one pip and is the smallest of the bunch.
addCard(Card) - Method in class me.ramendev.expokert.Deck
Adds the given Card to the deck.

C

canBe(Card) - Method in class me.ramendev.expokert.Wildcard
Checks whether this wildcard "can be" another card, in this case, whether it can be converted to the given Card.
Card - Class in me.ramendev.expokert
A playing card.
Card(String) - Constructor for class me.ramendev.expokert.Card
Creates a card from the given string, which should notate the card's properties.
Card(Pip, Suit) - Constructor for class me.ramendev.expokert.Card
Creates a card from the given pip and suit.
CLUBS - Enum constant in enum class me.ramendev.expokert.Suit
The clubs suit.

D

Deck - Class in me.ramendev.expokert
The standard 52-card deck, with an option to include a Wildcard.
Deck() - Constructor for class me.ramendev.expokert.Deck
Constructor for an empty deck of Cards.
Deck(String) - Constructor for class me.ramendev.expokert.Deck
Constructor for a deck generated from a list of whitespace-separated cards.
Deck(List<Card>) - Constructor for class me.ramendev.expokert.Deck
Constructor for a list of Cards from the provided List.
Deck(Optional<Wildcard>) - Constructor for class me.ramendev.expokert.Deck
Constructor for a standard 52-Card deck, with the option to add a Wildcard.
DeckSizeException - Exception in me.ramendev.expokert.exception
Represents a scenario where a Deck's size would go over Deck.DEFAULT_DECK_SIZE or below 0.
DeckSizeException(String) - Constructor for exception me.ramendev.expokert.exception.DeckSizeException
Default inherited constructor that constructs a message for the exception.
DEFAULT_DECK_SIZE - Static variable in class me.ramendev.expokert.Deck
The default deck size, which is 52, or the number of possible permutations of Pips (excluding the Pip.WILD) and Suits (excluding the Suit.WILD).
DIAMONDS - Enum constant in enum class me.ramendev.expokert.Suit
The diamonds suit.
DuplicateCardException - Exception in me.ramendev.expokert.exception
Represents a scenario where adding a Card would result in duplicates.
DuplicateCardException(String) - Constructor for exception me.ramendev.expokert.exception.DuplicateCardException
Default inherited constructor that constructs a message for the exception.

E

EIGHT - Enum constant in enum class me.ramendev.expokert.Pip
Eight pips.

F

FIVE - Enum constant in enum class me.ramendev.expokert.Pip
Five pips.
FixedWildcard - Class in me.ramendev.expokert
The "fixed" Wildcard, which has no dynamic behavior that depends on additional game state, and has a constant set of Cards it can convert to.
FixedWildcard(Set<Card>) - Constructor for class me.ramendev.expokert.FixedWildcard
Constructor for a fixed wildcard.
FOUR - Enum constant in enum class me.ramendev.expokert.Pip
Four pips.
from(char) - Static method in enum class me.ramendev.expokert.Pip
Returns the pip that is notated with the provided character.
from(char) - Static method in enum class me.ramendev.expokert.Suit
Returns the suit that is notated with the provided character.

G

getAllCards() - Static method in class me.ramendev.expokert.Card
Gets all the cards that can be created from all of the Pips (except for Pip.WILD), and all of the Suits (except for Suit.WILD)
getCharacter() - Method in enum class me.ramendev.expokert.Pip
Trivial getter of the Pip.character field.
getCharacter() - Method in enum class me.ramendev.expokert.Suit
Returns the character the represents this suit.
getConversions() - Method in class me.ramendev.expokert.FixedWildcard
Gets all the Cards that this wildcard can convert to.
getConversions() - Method in class me.ramendev.expokert.Wildcard
Gets all the Card that this wildcard can convert to.
getSize() - Method in class me.ramendev.expokert.Deck
Returns how many cards are in this deck.
getValue() - Method in enum class me.ramendev.expokert.Pip
Gets the numerical value of the pip.

H

HEARTS - Enum constant in enum class me.ramendev.expokert.Suit
The hearts suit.

I

IllegalCardException - Exception in me.ramendev.expokert.exception
Indicates that a Card is illegal to exist in some form of context.
IllegalCardException(String) - Constructor for exception me.ramendev.expokert.exception.IllegalCardException
Default inherited constructor that constructs a message for the exception.
isNextTo(Pip) - Method in enum class me.ramendev.expokert.Pip
Checks if the given pip is directly next to the given pip in the default pip order.

J

JACK - Enum constant in enum class me.ramendev.expokert.Pip
The Jack pip, or eleven pips.
Joker - Class in me.ramendev.expokert
The Joker Wildcard, seen on a variety of different card games.
Joker() - Constructor for class me.ramendev.expokert.Joker
Constructor for a Joker.

K

KING - Enum constant in enum class me.ramendev.expokert.Pip
The King pip, or thirteen pips.

M

me.ramendev.expokert - package me.ramendev.expokert
Provides classic that implement playing cards, game mechanics and games related to playing cards.
me.ramendev.expokert.exception - package me.ramendev.expokert.exception
Provides meaningful exceptions that are thrown by the expokert package.

N

NINE - Enum constant in enum class me.ramendev.expokert.Pip
Nine pips.

P

Pip - Enum Class in me.ramendev.expokert
The pip of a Card, or a card's value.
popCard() - Method in class me.ramendev.expokert.Deck
"Pops" the card (similar to the pop operation in the Stack or Deque data structure).

Q

QUEEN - Enum constant in enum class me.ramendev.expokert.Pip
The Queen pip, or twelve pips.

S

SEVEN - Enum constant in enum class me.ramendev.expokert.Pip
Seven pips.
SIX - Enum constant in enum class me.ramendev.expokert.Pip
Six pips.
SPADES - Enum constant in enum class me.ramendev.expokert.Suit
The spades suit.
Suit - Enum Class in me.ramendev.expokert
The suit of a Card.

T

TEN - Enum constant in enum class me.ramendev.expokert.Pip
Ten pips.
THREE - Enum constant in enum class me.ramendev.expokert.Pip
Three pips.
toString() - Method in class me.ramendev.expokert.Card
Gets the notation form of this card.
toString() - Method in class me.ramendev.expokert.Deck
Returns the string form of this deck.
TWO - Enum constant in enum class me.ramendev.expokert.Pip
Two pips by default, but in some variants, two is the largest pip.

V

valueOf(String) - Static method in enum class me.ramendev.expokert.Pip
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.ramendev.expokert.Suit
Returns the enum constant of this class with the specified name.
values() - Static method in enum class me.ramendev.expokert.Pip
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.ramendev.expokert.Suit
Returns an array containing the constants of this enum class, in the order they are declared.

W

WILD - Enum constant in enum class me.ramendev.expokert.Pip
The wildcard pip.
WILD - Enum constant in enum class me.ramendev.expokert.Suit
The wild suit, only unique to Wildcards.
Wildcard - Class in me.ramendev.expokert
The wildcard, which is a card that can be considered as another "real" Card.
Wildcard() - Constructor for class me.ramendev.expokert.Wildcard
Constructor for a wildcard.
A C D E F G H I J K M N P Q S T V W 
All Classes and Interfaces|All Packages|Serialized Form