|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.egothor.cache.CachedTerm
public class CachedTerm
Represents a triplet barrel, term, pageId, that can be used as a key of a inverted list cache.
| Constructor Summary | |
|---|---|
CachedTerm(Barrel barrel,
java.lang.String term,
long pageId)
Constructor for the CachedTerm object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Checks whether the specified object is equal to this one. |
Barrel |
getBarrel()
Gets the associated barrel. |
long |
getPageId()
Gets the associated page id. |
java.lang.String |
getTerm()
Gets the associated term. |
int |
hashCode()
Returns a hash code value for the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CachedTerm(Barrel barrel,
java.lang.String term,
long pageId)
barrel - barrel the requested term is interm - requested termpageId - requested page id| Method Detail |
|---|
public Barrel getBarrel()
public java.lang.String getTerm()
public long getPageId()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||