Package | Description |
---|---|
ball.game.card |
Classes for playing card games.
|
Modifier and Type | Method and Description |
---|---|
Card.Color |
Card.getColor()
Method to get the
Card Card.Color . |
Card.Color |
Card.Suit.getColor()
Method to get the
Card.Suit Card.Color . |
static Card.Color |
Card.Color.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Card.Color[] |
Card.Color.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Predicate<Card.Color> |
Card.Color.is(Card.Color color)
|
Modifier and Type | Method and Description |
---|---|
static Predicate<Card.Color> |
Card.Color.is(Card.Color color)
|
Copyright © 2015–2020 Allen D. Ball. All rights reserved.