Class MultiKey

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

public final class MultiKey extends Object
Combines multiple values to form a single composite key. MultiKey can often be used as an alternative to nested maps.
  • Constructor Details

    • MultiKey

      public MultiKey(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 Details