net.i2p.router.message

## Class OutboundCache.HashPair

- java.lang.Object
- - net.i2p.router.message.OutboundCache.HashPair

- Enclosing class:
    OutboundCache

      static class OutboundCache.HashPair
      extends Object

  Composite key for caches, combining source and destination Hashes. Implements robust hashCode and equals for minimal collisions.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HashPair(Hash s, Hash d)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `int` | `hashCode()`

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

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

- - ### Constructor Detail

    - #### HashPair

          HashPair(Hash s,
                   Hash d)

  - ### Method Detail

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`