public clsURL[] CopyFromQueue() { Object[] iTemp = _iQueue.ToArray(); var iResult = new clsURL[iTemp.Length]; for (int i = 0; i < iTemp.Length; i++) { iResult[i] = (clsURL)iTemp[i]; } return(iResult); }
public bool CheckVisited(clsURL URL) { return(_iQueue.Contains(URL)); }
public void AddURL(clsURL URL) { _iQueue.Enqueue(URL); }