Java 类型系统,Class 类与反射编程,JVM 工作机制与优化问题
[Lab 13]使用 Reflection 设计一个简单的框架
第 14 讲:单元测试,重构和设计模式
介绍 Junit,测试驱动的设计,代码重构及设计模式概念
[Lab 14]结合课程项目,练习测试用例设计
第 15 周:复习
课程总结与复习。
[Lab 15]课程项目答辩
第 16 周:优秀课程项目演示
从课程项目中挑选若干优秀项目在课堂演示。
[Lab 16]复习、答疑
The course will cover all the following topics below.
Topic 1: Computing, Data Types and Data I/O
Essence of Application, Computing and Info Processing;
Data Types, Data input and output, File IO
[Lab 1] Read a file, convert its characters into the target encoding, and save it to another file in the specified format.
Practice file IO and encoding conversion.
Topic 2: ADTs: Using & Creating Data Types, Basics of Images & Graphics
Abstract Data Types(ADTs), Using & Creating Data Types;
Basics of Images & Graphics: Color, Picture & StdDraw
[Lab 2] Combine Inheritance and polymorphism with the application of graphics and images to make an interesting
animation.
Topic 3: Bitwise Operators, Generic Types, Lambda Expressions and Basics of Collections
Logical Operators, Bitwise Operators; Generic Types, Generic Methods, Generic Classes;
Lambda Expressions, Basics of Collections: Set & Map
[Lab 3] Apply Collection and Lambda to do some data processing.
Topic 4: Basics of GUI and JavaFX
Basic Elements of Graphics User Interface, Fudementals of JavaFX
[Lab 4] Installation of JavaFX and start to use.
Topic 5: Data Visualization with JavaFX
Objectives of Data Visualization, Package java.scane.chart with Application
[Lab 5] Implementing a Complete Application using JavaFX (I)
Topic 6: Events Handling and More on JavaFX
Machenism of GUI interactive events, JavaFX Events Handlers, Advanced Features of JavaFX
[Lab 6] Implementing a Complete Application using JavaFX (II)
Topic 7: Functional Programming and Stream Processing
Functional Style Programming, Stream Processing in Java;
Stream Producing, Stream Transforming, Stream Collecting
[Lab 7] Implementing a Complete Application using JavaFX (II)
Topic 8: Regular Expression, Text Processing & Web Crawlers
Regular Expressions & Regular Languages, Java Regex in details,