Class NullToken

    • Constructor Detail

      • NullToken

        public NullToken()
    • Method Detail

      • setPayload

        public void setPayload​(Object value)
        Ignores any payload.
        Overrides:
        setPayload in class Token
        Parameters:
        value - ignored
      • toString

        public String toString()
        Returns a string representation of the payload.
        Overrides:
        toString in class Token
        Returns:
        the string representation