chapter_004/src/main/java/ru/job4j/map/MyHashMap.java
/**
             * Return next element from the collection.
             *
             * @return - element.
             */
Return next element from the collection.
@return - element.
Return next element from the collection . @return - element .
@Override
            public V next() {
                if (expectedModCount != count) {
                    throw new ConcurrentModificationException();
                }
                for (; step < table.length; step++) {
                    if (table[step] != null) {
                        break;
                    }
                }
                if (step == table.length) {
                    throw new NoSuchElementException();
                }
                return (V) table[step++].value;
            }
@ Override public V next ( ) { if ( expectedModCount != count ) { throw new ConcurrentModificationException ( ) ; } for ( ; step < table . length ; step ++ ) { if ( table [ step ] != null ) { break ; } } if ( step == table . length ) { throw new NoSuchElementException ( ) ; } return ( V ) table [ step ++ ] . value ; }
Return next element from the collection.
Return next element from the collection .