Index

A C D E F G H J K N Q R S T V 
All Classes and Interfaces|All Packages

A

ACE - Enum constant in enum class com.github.jmp.poker.Rank
Ace - highest rank with value 12

C

Card - Class in com.github.jmp.poker
Represents an immutable playing card from a standard 52-card deck.
Card(Rank, Suit) - Constructor for class com.github.jmp.poker.Card
Creates a new card with the specified rank and suit.
cards() - Method in record class com.github.jmp.poker.Hand
Returns the value of the cards record component.
CLUBS - Enum constant in enum class com.github.jmp.poker.Suit
Clubs suit with bitmask value 0x8000 and symbol "c"
com.github.jmp.poker - package com.github.jmp.poker
 

D

DIAMONDS - Enum constant in enum class com.github.jmp.poker.Suit
Diamonds suit with bitmask value 0x4000 and symbol "d"

E

EIGHT - Enum constant in enum class com.github.jmp.poker.Rank
Eight - rank with value 6
equals(Object) - Method in record class com.github.jmp.poker.Hand
Indicates whether some other object is "equal to" this one.
evaluate() - Method in record class com.github.jmp.poker.Hand
Evaluates this poker hand and returns its ranking value.

F

FIVE - Enum constant in enum class com.github.jmp.poker.Rank
Five - rank with value 3
FOUR - Enum constant in enum class com.github.jmp.poker.Rank
Four - rank with value 2
fromString(String) - Static method in class com.github.jmp.poker.Card
Creates a new Card instance from its string representation.
fromString(String) - Static method in record class com.github.jmp.poker.Hand
Creates a new 5-card hand from its string representation.

G

getRank() - Method in class com.github.jmp.poker.Card
Returns the rank of this card.
getSuit() - Method in class com.github.jmp.poker.Card
Returns the suit of this card.
getValue() - Method in enum class com.github.jmp.poker.Rank
Returns the numeric value of this rank.
getValue() - Method in enum class com.github.jmp.poker.Suit
Returns the bitmask value of this suit.

H

Hand - Record Class in com.github.jmp.poker
Represents an immutable 5-card poker hand with evaluation capabilities.
Hand(Card...) - Constructor for record class com.github.jmp.poker.Hand
Constructs a new Hand with exactly 5 unique cards.
hashCode() - Method in record class com.github.jmp.poker.Hand
Returns a hash code value for this object.
HEARTS - Enum constant in enum class com.github.jmp.poker.Suit
Hearts suit with bitmask value 0x2000 and symbol "h"

J

JACK - Enum constant in enum class com.github.jmp.poker.Rank
Jack - rank with value 9

K

KING - Enum constant in enum class com.github.jmp.poker.Rank
King - rank with value 11

N

NINE - Enum constant in enum class com.github.jmp.poker.Rank
Nine - rank with value 7

Q

QUEEN - Enum constant in enum class com.github.jmp.poker.Rank
Queen - rank with value 10

R

Rank - Enum Class in com.github.jmp.poker
Represents the rank of a playing card in standard deck order.

S

SEVEN - Enum constant in enum class com.github.jmp.poker.Rank
Seven - rank with value 5
SIX - Enum constant in enum class com.github.jmp.poker.Rank
Six - rank with value 4
SPADES - Enum constant in enum class com.github.jmp.poker.Suit
Spades suit with bitmask value 0x1000 and symbol "s"
Suit - Enum Class in com.github.jmp.poker
Represents the four suits in a standard deck of playing cards.

T

TEN - Enum constant in enum class com.github.jmp.poker.Rank
Ten - rank with value 8
THREE - Enum constant in enum class com.github.jmp.poker.Rank
Three - rank with value 1
toString() - Method in class com.github.jmp.poker.Card
Returns the string representation of this card.
toString() - Method in record class com.github.jmp.poker.Hand
Returns the string representation of this hand.
toString() - Method in enum class com.github.jmp.poker.Rank
Returns the string representation of this rank.
toString() - Method in enum class com.github.jmp.poker.Suit
Returns the single character symbol representation of this suit.
TWO - Enum constant in enum class com.github.jmp.poker.Rank
Two - lowest rank with value 0

V

valueOf(String) - Static method in enum class com.github.jmp.poker.Rank
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.jmp.poker.Suit
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.github.jmp.poker.Rank
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.jmp.poker.Suit
Returns an array containing the constants of this enum class, in the order they are declared.
A C D E F G H J K N Q R S T V 
All Classes and Interfaces|All Packages