Package hw6

Interface Summary
Locatable This interface defines the methods that a class must implement in order to be locatable in a 2-dimensional latitude / longitude world.
TransitBusListener This interface defines the methods that must be implemented by classes that want to listen for TransitBusEvents.
 

Class Summary
LocatedVehicle This class implements the ability to give a Vehicle a Location.
Location This class is a way for objects to keep track of where they are in a 2-dimensional latitude & longitude based coordinate system.
TrafficReceiver This class reads a network socket to get updates indicating where the buses in the King County Metro bus system are.
TransitBus This class implements a TransitBus, which is a LocatedVehicle with an integer route number.
TransitBusEvent This class implements a simple event that is fired whenever a new TransitBus position record is received.
TransitSystem This class builds and manages the transit system for homework 6.
Vehicle This class provides an implementation for a basic vehicle that has a vehicle identification number and the ability to sort based on that number.