Next:
1. From Scheme to
Intermediate Programming (Comp 212) Lecture Notes
Robert ``Corky'' Cartwright
1. From Scheme to Java: Functional Programming with Objects
1.1 Introduction
1.2 What is an Object?
1.3 Java Notation and Syntax
1.3.1 Java Expressions
1.3.2 Java Statements
1.3.3 The Structure of Java Programs
1.3.4 A Sample Java Program
1.3.5 Variations on the Sample Program
1.3.6 Capitalization Conventions
1.3.7 Java Types and Typing Conventions
1.4 Java Classes and Objects
1.4.1 Defining New Forms of Data Using Classes
1.4.2 Instantiating Class Definitions
1.4.3 Defining Functional Methods in Java
1.4.3.1 An Extended Example
1.4.4 Inheritance and the Composite Pattern
1.4.5 Method Overloading
1.4.6 The Command Pattern
1.4.7 Help Methods and Visibility
1.5 Loose Ends
1.5.1 Static members
1.5.2 Local variables
1.5.3 Unchecked Exceptions
1.5.4 Static Type Checking
1.6 The Visitor Pattern
1.6.1 Interpreting Arithmetic Expressions
1.6.2 Openness in Data Design
1.6.3 Polymorphic Visitors
1.6.4 Polymorphic Visitors with Arguments
Robert Cartwright, Spring 1999