public class Tile extends Object
Tile
.
Constructor and Description |
---|
Tile(char letter,
int points)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
char |
getLetter() |
int |
getPoints() |
boolean |
isBlank() |
String |
toString() |
static String |
toString(Collection<Tile> collection)
|
public static final char BLANK
BLANK
= 95@ConstructorProperties(value={"letter","points"}) public Tile(char letter, int points)
public char getLetter()
public int getPoints()
public boolean isBlank()
public static String toString(Collection<Tile> collection)
collection
- The Collection
of Tile
s.String
representation.Copyright © 2015–2020 Allen D. Ball. All rights reserved.