Possible Duplicate:
Static nested class in Java, why?
I'm reading sourcecode in JDK HashTable, and there is some code snippet like below:
/** Hashtable collision list. */
private static class Entry<K,V> implements Map.Entry<K,V> {
int hash;
K key;
V value;
Entry<K,V> next;
...
} //end of Entry<K,V>
I know the Entry here is a private inner class, but it's also a defined static class; my concern is, it isn't enough to just define it as private inner class? What's the main usage here to define it as a static class?
Any guide or reply is highly appreciated.