void () { initEntries(); for (Entry entry : table) { if (entry != null) { Entry tmp = entry; Entry tmpNext; while (tmp != null) { tmpNext = tmp.next; tmp.next = null; tmp = tmpNext; System.out.println("tmpNext " + ((tmpNext == null) ? "is null" : "is not null")); } } } }