Class ItfName


  • public abstract class ItfName
    extends java.lang.Object
    Interface unique name generator for collection client interfaces.
    Author:
    Bruno Dillenseger
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.util.Map<java.lang.String,​java.math.BigInteger> interfaces  
    • Constructor Summary

      Constructors 
      Constructor Description
      ItfName()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String gen​(java.lang.String itfBaseName)
      Unique interface name generation (uniqueness is bound to this class definition in one JVM)
      • Methods inherited from class java.lang.Object

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

      • interfaces

        protected static java.util.Map<java.lang.String,​java.math.BigInteger> interfaces
    • Constructor Detail

      • ItfName

        public ItfName()
    • Method Detail

      • gen

        public static java.lang.String gen​(java.lang.String itfBaseName)
        Unique interface name generation (uniqueness is bound to this class definition in one JVM)
        Parameters:
        itfBaseName - interface name to be used as a prefix for unique name generation
        Returns:
        a new unique name with the given prefix