Ejemplo n.º 1
0
            /// <summary>
            /// Moves the cursor to the next Vertex.
            /// </summary>
            /// <returns>True if successful, false if the iteration ended.</returns>
            public bool MoveNext()
            {
                bool ok;

                do
                {
                    ok = m_Enumerator.MoveNext();
                    if (!ok)
                    {
                        return(false);
                    }
                }while(!m_Predicate.Test(m_Enumerator.Current));

                return(true);
            }