Package edu.uky.ai.csp.kr

# Class Variable

java.lang.Object
edu.uky.ai.csp.kr.Variable

    public class Variable
    extends java.lang.Object

A variable can be assigned one of several possible values.

Author:
  Stephen G. Ware

- ## Field Summary

  Fields
  Modifier and Type | Field | Description
  --- | --- | ---
  `java.lang.String` | `name` | The variable's unique name

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `Variable​(java.lang.String name)` | Constructs a new variable.

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `boolean` | `equals​(java.lang.Object other)` |
  `int` | `hashCode()` |
  `java.lang.String` | `toString()` |

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

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

- ## Field Details

  - ### name

    public final java.lang.String name
    The variable's unique name

- ## Constructor Details

  - ### Variable

    public Variable​(java.lang.String name)
    Constructs a new variable.
    Parameters:
      `name` - the variable's unique name

- ## Method Details

  - ### equals

    public boolean equals​(java.lang.Object other)
    Overrides:
      `equals` in class `java.lang.Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `java.lang.Object`

  - ### toString

    public java.lang.String toString()
    Overrides:
      `toString` in class `java.lang.Object`