code: public BreakIterator getBreakIterator(int type) {
          if (type < BI_CHARACTER || type >= BI_LIMIT) {
              throw new IllegalArgumentException("Illegal break iterator type");
          }
          if (breakIterators == null || breakIterators[type] == null) {
              return guessBreakIterator(type);
          }
          return (BreakIterator) breakIterators[type].clone(); // clone for safety
      }
docs: Get a copy of the break iterator for the specified type according to the
  settings.
  
  @param type break type - BI_CHARACTER or BI_WORD, BI_LINE, BI_SENTENCE, BI_TITLE
  @return break iterator explicit or implicit
  @hide draft / provisional / internal are hidden on Android