Code example for ConcurrentModificationException

0
     * Returns the next table row. 
     * @see prefuse.util.collections.LiteralIterator#nextInt() 
     */ 
    public int nextInt() { 
        if ( m_modCount != m_table.getModificationCount() )
            throw new ConcurrentModificationException();
        m_cur = m_rows.nextInt();
        return m_cur;
    } 
 
    /** 
     * @see java.util.Iterator#hasNext() 
     */ 
    public boolean hasNext() { 
        return m_rows.hasNext();
    } 
 
    /** 
     * Remove the current row, deleting it from the table. 
     * @see java.util.Iterator#remove() 
Stop searching for code, let great code find you!  Add Codota to your java IDE