Поместите Arraylist в хэштибную Java
List<String> newList = new ArrayList<String>();
newList.addAll(neighb);
data.put(words.get(i), newList);
newList.clear();
Mysterious Mosquito