Index
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
Cardto 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
- Deck(Optional<Wildcard>) - Constructor for class me.ramendev.expokert.Deck
- DeckSizeException - Exception Class in me.ramendev.expokert.exception
-
Represents a scenario where a
Deck's size would go overDeck.DEFAULT_DECK_SIZEor below 0. - DeckSizeException(String) - Constructor for exception class 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
- DIAMONDS - Enum constant in enum class me.ramendev.expokert.Suit
-
The diamonds suit.
- DuplicateCardException - Exception Class in me.ramendev.expokert.exception
-
Represents a scenario where adding a
Cardwould result in duplicates. - DuplicateCardException(String) - Constructor for exception class me.ramendev.expokert.exception.DuplicateCardException
-
Default inherited constructor that constructs a message for the exception.
E
F
- FIVE - Enum constant in enum class me.ramendev.expokert.Pip
-
Five pips.
- FixedWildcard - Class in me.ramendev.expokert
- 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
- getCharacter() - Method in enum class me.ramendev.expokert.Pip
-
Trivial getter of the
Pip.characterfield. - 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
Cardthat 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
I
- IllegalCardException - Exception Class in me.ramendev.expokert.exception
-
Indicates that a
Cardis illegal to exist in some form of context. - IllegalCardException(String) - Constructor for exception class 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
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
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
Q
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.
All Classes and Interfaces|All Packages|Serialized Form