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

## org.apache.tapestry5.internal.util
Class MultiKey

    java.lang.Object
      org.apache.tapestry5.internal.util.MultiKey

    public final class MultiKey

extends java.lang.Object

Combines multiple values to form a single composite key. MultiKey can often be used as an alternative to nested maps.

Constructor Summary
`MultiKey(java.lang.Object... values)` Creates a new instance from the provided values.

Method Summary
`boolean` | `equals(java.lang.Object obj)`
`int` | `hashCode()`
`java.lang.String` | `toString()`

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

Constructor Detail

### MultiKey

    public MultiKey(java.lang.Object... values)

  Creates a new instance from the provided values. It is assumed that the values provided are good map keys themselves -- immutable, with proper implementations of equals() and hashCode().

  Parameters:
    `values` -

Method Detail

### hashCode

    public int hashCode()

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

### equals

    public boolean equals(java.lang.Object obj)

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

### toString

    public java.lang.String toString()

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

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

Copyright © 2003-2012 The Apache Software Foundation.