How do you assign values to Rank in a poker game. I have the name Ranks of the cards and they are stored in a Collection method, but I cant figure out how to pull out the values and assign them a digit number value.
private Collection cards; // so this is my hands and I have my cards stored here, but now I wanna pull them out and assign them digit values.
Thanks!
Update: I am trying to compare the ranks of the cards.