Class LocalizedKey


  • @NonNullByDefault
    public class LocalizedKey
    extends Object
    Common class (used as key) for i18n to store a localized object in a cache.
    Author:
    Christoph Weitkamp - Initial contribution
    • Constructor Detail

      • LocalizedKey

        public LocalizedKey​(Object id,
                            @Nullable String locale)
    • Method Detail

      • getKey

        public Object getKey()
      • getLocale

        public @Nullable String getLocale()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(@Nullable Object obj)
        Overrides:
        equals in class Object