Feature (API documentation of hlt.language packages)
Date: 2013-01-30

hlt.osf.base

## Class Feature

- java.lang.Object
- - hlt.osf.base.Feature

-     public class Feature
      extends java.lang.Object

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Feature` | `getFeature(java.lang.String name)` This static method returns the feature with the given name.
    `int` | `hashCode()`
    `java.lang.String` | `name()`
    `java.lang.String` | `toString()` Return a string value for this feature, which is its name.

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

      `equals, getClass, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getFeature

          public static Feature getFeature(java.lang.String name)
                                    throws BadFeatureNameException

      This static method returns the feature with the given name. If the given name is null, a new feature is created and its newly created name associated to it. Therefore, this class has no public constructor. The only way to access or make a feature is by invoking the method `Feature.getFeature(String name)` with name identifying the feature (if `null`, a feature with a newly generated name is created and returned).
      Throws:
        `BadFeatureNameException`

    - #### name

          public java.lang.String name()

    - #### hashCode

          public int hashCode()

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

    - #### toString

          public java.lang.String toString()

      Return a string value for this feature, which is its name.
      Overrides:
        `toString` in class `java.lang.Object`