Beispiel #1
0
 /**
  * Returns a string representation of the object. The return name is based on class short name.
  * This method has to be used only for debug purpose when the project is not compiled with
  * obfuscating. Don't use this method to represent the object. When the project is compiled with
  * obfuscating the class name is not the same.
  *
  * @return String a string representation of the object.
  */
 public String toString() {
   return String.valueOf(rank.getSquarePoints()) + "(4x" + rank.getRankSign() + ")";
 }
Beispiel #2
0
 /**
  * Returns Square points.
  *
  * @return int square points.
  */
 public int getPoints() {
   return rank.getSquarePoints();
 }