# Class LLKeyName

java.lang.Object
com.io7m.looseleaf.security.LLKeyName

All Implemented Interfaces:
  `Comparable<LLKeyName>`

public final class LLKeyName extends Object implements Comparable<LLKeyName>
The name of a key.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(LLKeyName other)`
  `static LLKeyName`
  `create(String name)`
  Create a key name.
  `boolean`
  `equals(Object o)`
  `int`
  `hashCode()`
  `String`
  `toString()`
  `String`
  `value()`

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

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

- ## Method Details

  - ### create

    public static LLKeyName create(String name) throws IllegalArgumentException
    Create a key name.
    Parameters:
      `name` - The name
    Returns:
      A key name
    Throws:
      `IllegalArgumentException` - On invalid key names

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### value

    public String value()
    Returns:
      The raw name as a string

  - ### compareTo

    public int compareTo(LLKeyName other)
    Specified by:
      `compareTo` in interface `Comparable<LLKeyName>`