摘要:
这里仅针对非泛型迭代器加以说明,泛型迭代器类似。代码一:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicclassCars{privateint[]intArr={1,2,3,4,5,6,7};///<summary>///命名迭代器///</summary>///<paramname="isReverse">是否倒序迭代</param>///<return 阅读全文