Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.umich.soar.hpp
Class HPPVariable

    java.lang.Object
      edu.umich.soar.hpp.HPPVariable

All Implemented Interfaces:
  java.lang.Comparable<HPPVariable>

Direct Known Subclasses:
  HPPGivenVariable, HPPMultiVariable

    public abstract class HPPVariable

extends java.lang.Object
implements java.lang.Comparable<HPPVariable>

Abstract variable has a name and type

Constructor Summary
`HPPVariable(java.lang.String name)` Basic constructor - initialize variable name

Method Summary
`int` | `compareTo(HPPVariable v)`
`java.lang.String` | `getName()` Supports read-only access to the variable name
`abstract java.lang.String` | `getType()` A variable's type is just a string (used for console debugging)
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### HPPVariable

    public HPPVariable(java.lang.String name)

  Basic constructor - initialize variable name

  Parameters:
    `name` - variable name

Method Detail

### getType

    public abstract java.lang.String getType()

  A variable's type is just a string (used for console debugging)

  Returns:
    variable type

### getName

    public java.lang.String getName()

  Supports read-only access to the variable name

  Returns:
    variable name

### toString

    public java.lang.String toString()

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

### compareTo

    public int compareTo(HPPVariable v)

  Specified by:
    `compareTo` in interface `java.lang.Comparable<HPPVariable>`

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD