org.modeshape.jcr.index.local

## Class MapDB.UniqueKey<K>

- java.lang.Object
- - org.modeshape.jcr.index.local.MapDB.UniqueKey<K>

- All Implemented Interfaces:
    Serializable
  Enclosing class:
    MapDB

      public static final class MapDB.UniqueKey<K>
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected K` | `actualKey`
    `protected long` | `id`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MapDB.UniqueKey(K actualKey, long id)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `int` | `hashCode()`
    `String` | `toString()`

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

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

- - ### Field Detail

    - #### actualKey

          protected final K actualKey

    - #### id

          protected final long id

  - ### Constructor Detail

    - #### MapDB.UniqueKey

          public MapDB.UniqueKey(K actualKey,
                         long id)

  - ### Method Detail

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.