Class FormatCache.MultipartKey

  • Enclosing class:
    FormatCache<F extends java.text.Format>

    private static class FormatCache.MultipartKey
    extends java.lang.Object
    Helper class to hold multi-part Map keys
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int hashCode  
      private java.lang.Object[] keys  
    • Constructor Summary

      Constructors 
      Constructor Description
      MultipartKey​(java.lang.Object... keys)
      Constructs an instance of MultipartKey to hold the specified objects.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      int hashCode()
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • keys

        private final java.lang.Object[] keys
      • hashCode

        private int hashCode
    • Constructor Detail

      • MultipartKey

        public MultipartKey​(java.lang.Object... keys)
        Constructs an instance of MultipartKey to hold the specified objects.
        Parameters:
        keys - the set of objects that make up the key. Each key may be null.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object