/**
   * Return a new instance of BreakIterator used to iterate sentence-breaks using given locale.
   *
   * @param where the given locale
   * @return a new instance of BreakIterator used to iterate sentence-breaks using given locale.
   */
  public static BreakIterator getSentenceInstance(Locale where) {
    if (where == null) {
      throw new NullPointerException();
    }

    return new RuleBasedBreakIterator(
        com.ibm.icu4jni.text.BreakIterator.getSentenceInstance(where));
  }
 /**
  * Return a new instance of BreakIterator used to iterate sentence-breaks using default locale.
  *
  * @return a new instance of BreakIterator used to iterate sentence-breaks using default locale.
  */
 public static BreakIterator getSentenceInstance() {
   return new RuleBasedBreakIterator(com.ibm.icu4jni.text.BreakIterator.getSentenceInstance());
 }