Class Catalog.Const<L>

java.lang.Object
eu.bandm.tools.muli.Catalog.Const<L>
Type Parameters:
L - the key type to be wrapped for protection
Enclosing class:
Catalog<K>

@Deprecated(forRemoval=false) protected static class Catalog.Const<L> extends Object
Deprecated.
UNTIL all uses with CatalogByString have been eliminated!
Wrapper class to prevent the translation of an argument which is of key class <K>. Works since »instanceof K« yields false, but only toString() is requested by "%s"-format and works! Is not needed for CatalogByString, because this translates only embedded PreMessages.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final L
    Deprecated.
    The wrapped value.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Const(L value)
    Deprecated.
    Only constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • value

      protected final L value
      Deprecated.
      The wrapped value.
  • Constructor Details

    • Const

      public Const(L value)
      Deprecated.
      Only constructor.
      Parameters:
      value - the value to wrap.
  • Method Details