类 SimpleNameFactory

  • 所有已实现的接口:
    NameFactory

    public class SimpleNameFactory
    extends java.lang.Object
    implements NameFactory
    This NameFactory generates unique short names, using mixed-case characters or lower-case characters only.
    • 构造器概要

      构造器 
      构造器 说明
      SimpleNameFactory()
      Creates a new SimpleNameFactory that generates mixed-case names.
      SimpleNameFactory​(boolean generateMixedCaseNames)
      Creates a new SimpleNameFactory.
    • 方法概要

      所有方法 静态方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      static void main​(java.lang.String[] args)  
      java.lang.String nextName()  
      void reset()  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • SimpleNameFactory

        public SimpleNameFactory()
        Creates a new SimpleNameFactory that generates mixed-case names.
      • SimpleNameFactory

        public SimpleNameFactory​(boolean generateMixedCaseNames)
        Creates a new SimpleNameFactory.
        参数:
        generateMixedCaseNames - A flag to indicate whether the generated names will be mixed-case, or lower-case only.
    • 方法详细资料

      • main

        public static void main​(java.lang.String[] args)