|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.columbia.surge.hashImpl.FDRefFactoryH
This class holds the factory methods for the FDRef class. Users can use this class to create instances of FDRef objects with their desired parameters. A static keyword is used to instantiate an instance of FDRefFactoryH so that the static variable "factory" in this class will have access to the create methods. Users can also create instances of FDRefH directly using the constructors of the FDRef class. The primary reason of the creation of this class is to allow the FDRef class, which implements the FDRef interface to have constructors while being able to implement all the methods in the interface.
FDRefH
Field Summary | |
static FDRefFactoryH |
factory
The static instance which helps users to access to the methods in this class. |
Method Summary | |
FDRef |
create(java.lang.Object ref)
A factory method which creates an instance of FDRefH with the given object to be referrenced to as the hole. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static FDRefFactoryH factory
Method Detail |
public FDRef create(java.lang.Object ref)
ref
- the hole of the FD, it is either a FD or a FDNull
object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |