Why java Iterator interface should be implemented as inner class ...