edu.columbia.surge.hashImpl
Class FDFactoryH

java.lang.Object
  |
  +--edu.columbia.surge.hashImpl.FDFactoryH

public class FDFactoryH
extends java.lang.Object
implements FDFactory

This class holds the factory methods for the FD class. Users can use this class to create instances of FD objects with their desired parameters. A static keyword is used to instantiate an instance of FDFactoryH so that the static variable "factory" in this class will have access to the create methods. Users can also create instances of FDH directly using the constructors of the FD class. The primary reason of the creation of this class is to allow the FD class, which implements the FD interface to have constructors while being able to implement all the methods in the interface.

See Also:
FDH

Field Summary
static FDFactoryH factory
          The static instance which helps users to access to the methods in this class.
 
Method Summary
 FD create()
          A factory method which creates a default instance of FDH.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

public static FDFactoryH factory
The static instance which helps users to access to the methods in this class.
Method Detail

create

public FD create()
A factory method which creates a default instance of FDH.
Specified by:
create in interface FDFactory
Returns:
a default instance of FDH