Interface Value

    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static java.lang.String lex​(Value theValue)
      Return the lexical value of a Value, which is dependent on the type of the `Value`.
      static int lexLength​(Value theValue)
      Determine length of lexical value, can be used to estimate memory usage
    • Method Detail

      • lex

        @Nonnull
        static java.lang.String lex​(@Nonnull
                                    Value theValue)
        Return the lexical value of a Value, which is dependent on the type of the `Value`.
        Parameters:
        theValue - the value
        Returns:
        the label
      • lexLength

        static int lexLength​(@Nonnull
                             Value theValue)
        Determine length of lexical value, can be used to estimate memory usage
        Parameters:
        theValue - value to measure
        Returns:
        exact length of the lexical value