chapter_004/src/main/java/ru/job4j/map/MyHashMap.java
/**
             * Check next element in the collection.
             *
             * @return - result
             */
Check next element in the collection.
@return - result
Check next element in the collection . @return - result
@Override
            public boolean hasNext() {
                boolean result = false;
                if (expectedModCount != count) {
                    throw new ConcurrentModificationException();
                }
                for (int x = step; x < table.length; x++) {
                    if (table[x] != null) {
                        result = true;
                        break;
                    }
                }
                return result;
            }
@ Override public boolean hasNext ( ) { boolean result = false ; if ( expectedModCount != count ) { throw new ConcurrentModificationException ( ) ; } for ( int x = step ; x < table . length ; x ++ ) { if ( table [ x ] != null ) { result = true ; break ; } } return result ; }
Check next element in the collection.
Check next element in the collection .