chapter_002/src/main/java/ru/job4j/tracker/Tracker.java
/**
     * delete item from storage
     * @param id number of itwm
     * @return
     */
delete item from storage
@param id number of itwm
@return
delete item from storage @param id number of itwm @return
public boolean delete(String id) {
        boolean result = false;
        for (int index = 0; index < position; index++) {
            if (items[index] != null && items[index].getId().equals(id)) {
                System.arraycopy(items, index + 1, items, index, position - index - 1);
                position--;
                result = true;
                break;
            }
        }
        return result;
    }
public boolean delete ( String id ) { boolean result = false ; for ( int index = 0 ; index < position ; index ++ ) { if ( items [ index ] != null && items [ index ] . getId ( ) . equals ( id ) ) { System . arraycopy ( items , index + 1 , items , index , position - index - 1 ) ; position -- ; result = true ; break ; } } return result ; }
delete item from storage
 @param id number of itwm
 @return
delete item from storage @param id number of itwm @return