|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object leila.parsing.Document.AgedLinkageWord
protected class Document.AgedLinkageWord
Represents a reference target, memorizes the time it has been created
Field Summary | |
---|---|
int |
birthday
Stores the sentence number at this AgedLinkageWord's creation |
LinkageWord |
linkageWord
Stores the linkage word |
Constructor Summary | |
---|---|
Document.AgedLinkageWord(LinkageWord l)
Constructor |
Method Summary | |
---|---|
boolean |
isAlive()
Tells whether this AgedLinkageWord's creation is less than SPAN ago |
void |
refresh()
Sets the birthday to now |
java.lang.String |
toString()
Returns a simple String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int birthday
public LinkageWord linkageWord
Constructor Detail |
---|
public Document.AgedLinkageWord(LinkageWord l)
Method Detail |
---|
public void refresh()
public boolean isAlive()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |