Class MapFactory

java.lang.Object
  |
  +--MapFactory

public class MapFactory
extends Object

Contains a factory methods to create objects for the Maps Exercises homework.


Constructor Summary
MapFactory()
           
 
Method Summary
static void addStrategies(WarehouseApplication anApp)
          Adds ACraneStrategy objects to the given application.
static IHashFunction createHashFunction(int N)
          Creates IHashFunction objects for use in hash tables.
static IMap createMap()
          Creates IMap objects for use in the application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapFactory

public MapFactory()
Method Detail

createMap

public static IMap createMap()
Creates IMap objects for use in the application.


createHashFunction

public static IHashFunction createHashFunction(int N)
Creates IHashFunction objects for use in hash tables.


addStrategies

public static void addStrategies(WarehouseApplication anApp)
Adds ACraneStrategy objects to the given application.