void (CharSequence charSequence, int start, int end, int occurrenceMask) { if (end == start || occurrenceMask == 0) return; int hash = IdIndexEntry.getWordHash(charSequence, start, end, true); myResult.mergeInt(new IdIndexEntry(hash), occurrenceMask, (prev, cur) -> prev | cur); int hashNoCase = IdIndexEntry.getWordHash(charSequence, start, end, false); if (hashNoCase != hash) { myResult.mergeInt(new IdIndexEntry(hashNoCase), occurrenceMask, (prev, cur) -> prev | cur); } }