mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-06-15 19:38:50 -07:00
cdf194f770
Java Records automatically acquire an implementation of equals and hashCode that accounts for their components. They also have read accessors for their components (card.suit() to get the suit).