Class PiRegisterCell.Builder

  • Enclosing class:
    PiRegisterCell

    public static final class PiRegisterCell.Builder
    extends java.lang.Object
    • Method Detail

      • withCellId

        public PiRegisterCell.Builder withCellId​(PiRegisterCellId registerCellId)
        Sets the register cell identifier for this register.
        Parameters:
        registerCellId - register cell identifier
        Returns:
        this
      • withData

        public PiRegisterCell.Builder withData​(PiData data)
        Sets the data of this register cell.
        Parameters:
        data - protocol-independent data
        Returns:
        this
      • build

        public PiRegisterCell build()
        Builds the register cell entry.
        Returns:
        a new register cell entry