Package: org.codehaus.groovy.runtime.powerassert

## [Java] Class Value

- org.codehaus.groovy.runtime.powerassert.Value

-     public class Value
      extends Object

  A value recorded during evaluation of an assertion, along with the column it is associated with in the assertion's normalized source text.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `Value(Object value, int column)` Creates a recorded assertion value.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public int` | `getColumn()` Returns the source column associated with the recorded value.
    `` | `public Object` | `getValue()` Returns the recorded value.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### public Value(Object value, int column)

      Creates a recorded assertion value.

      Parameters:
        `value` - the recorded value
        `column` - the 1-based column in the normalized assertion text, or a non-positive value if the source position is unknown

  - ### Method Detail

    - #### public int getColumn()

      Returns the source column associated with the recorded value.

      Returns:
        the 1-based column in the normalized assertion text, or a non-positive value if the source position is unknown

    - #### public Object getValue()

      Returns the recorded value.

      Returns:
        the recorded value