Alternatively, you can use enumerations.

Enumerations have an order to them and you can easily use this to quickly compare the ranking of the card. Enumerations in Java also have the added benefit...