src/main/java/com/antbrains/wordseg/luceneanalyzer/CharsRef.java
public void copy(CharsRef other) {
    chars = ArrayUtil.grow(chars, other.length);
    System.arraycopy(other.chars, other.offset, chars, 0, other.length);
    length = other.length;
    offset = 0;
  }
/**
   * Copies the given {@link CharsRef} referenced content into this instance starting at offset 0.
   * 
   * @param other
   *          the {@link CharsRef} to copy
   */
Copies the given  CharsRef referenced content into this instance starting at offset 0.

@param other
the  CharsRef to copy
Copies the given CharsRef referenced content into this instance starting at offset 0 . @param other the CharsRef to copy
public void copy(CharsRef other) {
    chars = ArrayUtil.grow(chars, other.length);
    System.arraycopy(other.chars, other.offset, chars, 0, other.length);
    length = other.length;
    offset = 0;
  }
public void copy ( CharsRef other ) { chars = ArrayUtil . grow ( chars , other . length ) ; System . arraycopy ( other . chars , other . offset , chars , 0 , other . length ) ; length = other . length ; offset = 0 ; }
Copies the given {@link CharsRef} referenced content into this instance starting at offset 0.
Copies the given { @link CharsRef } referenced content into this instance starting at offset 0 .