Enum Class FourCornerDotCake

java.lang.Object
java.lang.Enum<FourCornerDotCake>
org.x4o.fc18.cake2.FourCornerDotCake
All Implemented Interfaces:
Serializable, Comparable<FourCornerDotCake>, Constable

public enum FourCornerDotCake extends Enum<FourCornerDotCake>
The dot cake index of four corner 18 bit words in cake slices which holds the cake points.
Version:
1.0 Dec 28, 2024
Author:
Willem Cazander
  • Enum Constant Details

  • Method Details

    • values

      public static FourCornerDotCake[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FourCornerDotCake valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getStart

      public int getStart()
    • getStop

      public int getStop()
    • getLength

      public int getLength()
    • containsNot

      public boolean containsNot(int cakePoint)
    • contains

      public boolean contains(int cakePoint)
    • isExternWord

      public boolean isExternWord()
    • tower

      public FourCornerDotCakeTower tower()
    • nameSpec

      public String nameSpec()
    • description

      public String description()
    • getVidePoints

      public FourCornerX00PetitVide[] getVidePoints()
    • valuesLength

      public static int valuesLength()
    • valueOf

      public static FourCornerDotCake valueOf(int idx)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      idx - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • valueFromCakePoint

      public static Optional<FourCornerDotCake> valueFromCakePoint(int cakePoint)
    • valuesByTower

      public static List<FourCornerDotCake> valuesByTower(FourCornerDotCakeTower tower)