Class AbstractFormatCache.ArrayKey

java.lang.Object
org.apache.commons.lang3.time.AbstractFormatCache.ArrayKey
Enclosing class:
AbstractFormatCache<F extends Format>

private static final class AbstractFormatCache.ArrayKey extends Object
Helper class to hold multipart Map keys as arrays.
  • Field Details

    • keys

      private final Object[] keys
    • hashCode

      private final int hashCode
  • Constructor Details

    • ArrayKey

      ArrayKey(Object... keys)
      Constructs an instance of
      invalid reference
      MultipartKey
      to hold the specified objects.
      Parameters:
      keys - the set of objects that make up the key. Each key may be null.
  • Method Details

    • computeHashCode

      private static int computeHashCode(Object[] keys)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object