private int[] getHashes(int length) {

    int i = length - MIN_PATTERN_LENGTH;
    int[] subHashes = this.hashes[i];
    if (subHashes == null) {
      subHashes = this.hasher.getHashCodes(this.normalizedWord, length);
      this.hashes[i] = subHashes;
    }
    return subHashes;
  }
private int [ ] getHashes ( int length ) { int i = length - MIN_PATTERN_LENGTH ; int [ ] subHashes = this . hashes [ i ] ; if ( subHashes == null ) { subHashes = this . hasher . getHashCodes ( this . normalizedWord , length ) ; this . hashes [ i ] = subHashes ; } return subHashes ; }
This method gets the hashes of all substrings of the {@link #getNormalizedWord() normalized word} that
have the given {@link String#length() length}.

@param length is the {@link String#length() length} of the substrings to get hashes for.
@return the array with the hashes.