Class QualifiedName.Builder

  • Enclosing class:
    QualifiedName

    public static final class QualifiedName.Builder
    extends java.lang.Object
    The Builder allows to create instances of QualifiedName in a slightly more efficient way by pre-allocating the underlying data for a known length. Clients are supposed to create an instance of the builder with the predefined length and call add(String) for each segment sequentially. The final name is obtained via build().
    Since:
    2.15
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder​(int size)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.lang.String segment)  
      QualifiedName build()  
      • Methods inherited from class java.lang.Object

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

      • Builder

        public Builder​(int size)
    • Method Detail

      • add

        public void add​(java.lang.String segment)