/** Gets the SubIndex object which should hold the keyword */ private SubIndex getSubIndex(String keyword) { String md5 = Library.MD5(keyword); int idx = Collections.binarySearch(subIndiceList, md5); if (idx < 0) idx = -idx - 2; return subIndice.get(subIndiceList.get(idx)); }