| rex to Java |
| James Gosling, Inventor of Java |
| Java, an Imperative Language |
| Java vs. rex |
| Java review |
| The empty Java program |
| The empty Java program |
| The ÒHello, worldÓ program in Java |
| The ÒHello, worldÓ program in Java |
| Running Java on turing |
| Running Java on turing |
| HMC Shortcuts |
| Java Objects |
| Purposes of Objects |
| Immutable Objects |
| OpenList class |
| Using Your OpenList to
Implement Unicalc Functionality |
| Object Creation |
| Constructors for Quantities |
| Basic Quantity Constructor |
| Getters |
| Reasons? |
| Static? |
| Static can only call Static |
| Example |
| An Open List |
| Open Lists Identified with References |
| Sharing in Open Lists |
| Passing an Open List as an Argument to a Function |
| Open List Consing |
| Appending Open Lists |
| Reversing an Open List |
| Mapping an Open List |
| OpenList Basics |
| Java Code for OpenList |
| Java Code for OpenList (2) |
| Java Code for OpenList (3) |
| Java Code for OpenList (4) |
| Static Methods (closer to rex-style) |
| Wrappers for Primitives |
| Strings |
| Getters for Wrappers |
| Conversion to String |
| Cheap Conversion to String |
| Conversion from String |
| Type Discrimination |
| Equality Checking |
| A Recursive List
Pattern (without using map) |
| An Iterative List Pattern |
| An Iterative Reduce Pattern |
| An Recursive Merge Pattern |
| Try this |
| If you used recursion, try it with iteration, and vice-versa |
| Open vs. Closed Lists |