This document is intended as a stand-alone textbook chapter to be used for introducing some functional programming concepts into a course in which the primary teaching language is Java. For details of the approach, please see the paper "Functional programming, in the data structures course, in Java" by J. MacCormick, which appears in the Journal of Computing Sciences in Colleges (2023).
翻译:本文旨在作为独立教材章节,用于在主要教学语言为Java的课程中引入函数式编程概念。关于具体方法的详细信息,请参阅J. MacCormick发表于《大学计算科学杂志》(2023年)的论文《数据结构课程中的Java函数式编程》。