public static HyphenatorBuilder getInstance() {

    if (instance == null) {
      synchronized (HyphenatorBuilderImpl.class) {
        if (instance == null) {
          HyphenatorBuilderImpl impl = new HyphenatorBuilderImpl();
          impl.initialize();
          instance = impl;
        }
      }
    }
    return instance;
  }
public static HyphenatorBuilder getInstance ( ) { if ( instance == null ) { synchronized ( HyphenatorBuilderImpl . class ) { if ( instance == null ) { HyphenatorBuilderImpl impl = new HyphenatorBuilderImpl ( ) ; impl . initialize ( ) ; instance = impl ; } } } return instance ; }
This method gets the singleton instance of this {@link HyphenatorBuilderImpl}. <br>
<b>ATTENTION:</b><br>
Please prefer dependency-injection instead of using this method.

@return the singleton instance.