|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.AbstractMap
|
+--java.util.HashMap
|
+--edu.columbia.surge.hashImpl.FDH
|
+--edu.columbia.surge.hashImpl.APH
This is the class that implements the AP interface and is implemented in the form of a HashMap as it is inherrited from the FDH class. This class consists of methods and constructors to set the required components of a AP. User can either use the APFactoryH class or directly use the constructor of this class to create instances of APH.
APFactoryH, Serialized Form| Constructor Summary | |
APH()
The default constructor. |
|
APH(FD head)
The constructor which takes in a head entry as parameter. |
|
APH(java.lang.String lex)
The constructor which takes in a lexical entry as parameter. |
|
| Method Summary | |
void |
setHead(FD head)
A method to set the head of the AP. |
void |
setLex(java.lang.String lex)
A method to set the lexical entry of the AP |
| Methods inherited from class edu.columbia.surge.hashImpl.FDH |
checkPath,
checkPath,
computePathDifference,
getPath,
getPath,
putPath,
putPath,
putPathOverride,
putPathOverride,
stackToPath,
stringToArray,
toString,
toString,
toXML |
| Methods inherited from class java.util.HashMap |
clear,
clone,
containsKey,
containsValue,
entrySet,
get,
isEmpty,
keySet,
put,
putAll,
remove,
size,
values |
| Methods inherited from class java.util.AbstractMap |
equals,
hashCode |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public APH()
public APH(java.lang.String lex)
throws InvalidConstructorException
lex - the lexical entry represented as a string.
public APH(FD head)
throws InvalidConstructorException
head - the head entry represented as a FD object| Method Detail |
public void setLex(java.lang.String lex)
lex - the lexical entry of the APpublic void setHead(FD head)
head - a FD representation of the head
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||