code: private boolean charsMatch(char[] chars, int pos1, int pos2, int len2) {
          return charsMatch(chars, pos1, len2, pos2, len2);
      }
docs: @return true if two sequences of chars match within the array.
  
  @param chars char set
  @param pos1  position 1
  @param pos2  position 2
  @param len2  length to compare