Beispiel #1
0
 private ProgressNode FindOldestLeafmostNodeHelper(ArrayList treeToSearch, out ArrayList listWhereFound, out int indexWhereFound)
 {
     listWhereFound  = null;
     indexWhereFound = -1;
     PendingProgress.FindOldestNodeVisitor findOldestNodeVisitor = new PendingProgress.FindOldestNodeVisitor();
     PendingProgress.NodeVisitor.VisitNodes(treeToSearch, findOldestNodeVisitor);
     listWhereFound  = findOldestNodeVisitor.ListWhereFound;
     indexWhereFound = findOldestNodeVisitor.IndexWhereFound;
     return(findOldestNodeVisitor.FoundNode);
 }
Beispiel #2
0
		private ProgressNode FindOldestLeafmostNodeHelper(ArrayList treeToSearch, out ArrayList listWhereFound, out int indexWhereFound)
		{
			listWhereFound = null;
			indexWhereFound = -1;
			PendingProgress.FindOldestNodeVisitor findOldestNodeVisitor = new PendingProgress.FindOldestNodeVisitor();
			PendingProgress.NodeVisitor.VisitNodes(treeToSearch, findOldestNodeVisitor);
			listWhereFound = findOldestNodeVisitor.ListWhereFound;
			indexWhereFound = findOldestNodeVisitor.IndexWhereFound;
			return findOldestNodeVisitor.FoundNode;
		}