org.eclipse.viatra.query.runtime.matchers.util

## Class Signed<Payload extends java.lang.Comparable<Payload>>

- java.lang.Object
- - org.eclipse.viatra.query.runtime.matchers.util.Signed<Payload>

-     public class Signed<Payload extends java.lang.Comparable<Payload>>
      extends java.lang.Object

  A piece of data associated with a direction.
  Since:
    2.4

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Signed(Direction direction, Payload payload)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `Direction` | `getDirection()`
    `Payload` | `getPayload()`
    `int` | `hashCode()`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Signed

          public Signed(Direction direction,
                        Payload payload)

  - ### Method Detail

    - #### getPayload

          public Payload getPayload()

    - #### getDirection

          public Direction getDirection()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`