|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xindice.core.filer.Paged.PageKey
protected static class Paged.PageKey
The object wrapping page number.
Field Summary | |
---|---|
protected long |
pageNum
This page number |
Constructor Summary | |
---|---|
Paged.PageKey(long pageNum)
|
Method Summary | |
---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object obj)
Pages are equal if they are the same or have equal pageNum. |
long |
getPageNum()
|
int |
hashCode()
Return page hash code, which is hash code of its pageNum . |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final long pageNum
Constructor Detail |
---|
public Paged.PageKey(long pageNum)
Method Detail |
---|
public long getPageNum()
public int compareTo(Object o)
compareTo
in interface Comparable
public int hashCode()
pageNum
.
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- Another page
|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |