Class RecordRegister

    • Constructor Detail

      • RecordRegister

        public RecordRegister​(RecordTokenType type)
        Constructs a new null-valued register with the given record type. The resulting field registers are all null-valued initially.
        Parameters:
        type - the record schema of the register
    • Method Detail

      • set

        public void set​(TokenValued value)
        Description copied from interface: TokenSettable
        Sets the contained value to the given token value. The given value must have a type compatible with this object.
        Specified by:
        set in interface TokenSettable
        Parameters:
        value - the value to which to set the container
      • setNull

        public void setNull()
        Description copied from interface: TokenSettable
        Sets the contained value to be null valued.
        Specified by:
        setNull in interface TokenSettable
      • setZero

        public void setZero()
        Description copied from interface: TokenSettable
        Sets the contained value to be zero valued.
        Specified by:
        setZero in interface TokenSettable