Class FieldPrecedenceModel.State

java.lang.Object
uk.co.real_logic.sbe.generation.common.FieldPrecedenceModel.State
Enclosing class:
FieldPrecedenceModel

public static final class FieldPrecedenceModel.State extends Object
A state in which a codec may reside.
  • Method Details

    • number

      public int number()
      In the scope of an FieldPrecedenceModel instance, state numbers are contiguous and start at 0. This numbering scheme allows easy generation of lookup tables.
      Returns:
      the state number
    • name

      public String name()
      Returns the name of the state.
      Returns:
      the name of the state.
    • toString

      public String toString()
      Overrides:
      toString in class Object