Table of Contents
The Java Language and Simulation in SimKit
Programming Languages & Simulation
What is Java?
Java Hype
Java Hype Contíd
Java References
The Java Tutorial
Simple
Object-Oriented
Four O-O Characteristics (from White Paper)
O-O Focuses on modeling objects in the real world
O-O Classes (still from White Paper)
O-O Example - class Point
O-O Methods
Distributed
Interpreted
Robust
Secure
Architecture Neutral & Portable
High Performance
Multithreaded
Dynamic
Java Program Development
Simple Types (~C)
Arrays
Statements (~ C)
Classes and Objects (!= C++)
Reference Types (no pointers)
Features Removed from C and C++
Pseudo Concurrent Processes or Objects
threads
Synchronization - Mutual Exclusion
class Producer extends Thread {
class Consumer extends Thread {
class CubbyHole {
class ProducerConsumerTest {
Applet Runner.Out
java.lang
Applets
SimKit => Event Oriented Simulation Package
class Event
class LP
class Simulation
SimKit Null Test Program
SimKit Null Test Program Output
SimKit LP Test Program
class TestLP
SimKit LP Test Output
Red Green Balls Simulation - class Ball
RGB Simulation - class Player
class RedGreenBalls
class RedGreenBalls contíd
RedGreenBalls Output
class RGBalls GUI
class RGBallsGUI Contíd
RedGreenBalls Example & SimKit Package
class ThreadLister - from Java in a Nutshell
class ThreadLister Conít
ThreadLister Output - from Roaster
class Head for head of doubly linked lists
class Head Contíd
class Link - links reside in doubly linked lists
testing package OrderedList
Testing OrderedLists Package - Output
|