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

## com.servingxml.io.cache
Class DefaultKey

    java.lang.Object
      com.servingxml.io.cache.DefaultKey

All Implemented Interfaces:
  Key

    public final class DefaultKey

extends java.lang.Object
implements Key

Implements a default `Key`

Method Summary
`boolean` | `equals(java.lang.Object anObject)` Compares this key to the specified object.
`int` | `hashCode()` Returns a hash code value for this key.
`static Key` | `newInstance()`
`java.lang.String` | `toString()`

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

Method Detail

### equals

    public boolean equals(java.lang.Object anObject)

  Description copied from interface: `Key`
  Compares this key to the specified object.

  Specified by:
    `equals` in interface `Key`
  Overrides:
    `equals` in class `java.lang.Object`
  Parameters:
    `anObject` - the object being tested for equality.
  Returns:
    `true` if the two keys are equal, `false` otherwise.

### hashCode

    public int hashCode()

  Description copied from interface: `Key`
  Returns a hash code value for this key.

  Specified by:
    `hashCode` in interface `Key`
  Overrides:
    `hashCode` in class `java.lang.Object`
  Returns:
    a hash code value for this key.

### newInstance

    public static Key newInstance()

### toString

    public java.lang.String toString()

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

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