public class NameMgr<T> extends Object
Management of intern'ed names T that can be used as keys. alloc(java.lang.String, java.util.function.Function<java.lang.String, T>) creates an intern'ed T; if the object with the same name has already been created, return the original. There is only ever one object for a given name.

T == can be used to test of name match, though providing .hashCode and .equals is preferred.

  • Constructor Details

    • NameMgr

      public NameMgr()
  • Method Details