"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
posted 8 years ago
Here is my understanding.
1. iterator() method of Set interface returns Iterator interface.
API is : Iterator<E> iterator(); 2. As per API, entrySet() returns Set<Map.Entry<K, V>>
API is : Set<Map.Entry<K, V>> entrySet();
My questions are
Wouter Oet wrote:What do you think the differences are?