|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.searchlibrary.operatorlibrary.duplicateeliminatoroperator.ObjectRank
public class ObjectRank
A simple pair of OID (DocID) and its rank
| Field Summary | |
|---|---|
String |
objID
object ID (DocID) |
Double |
rank
object rank |
| Constructor Summary | |
|---|---|
ObjectRank()
|
|
| Method Summary | |
|---|---|
int |
compareTo(ObjectRank o)
Returns 0 if both objects match, -1 if this object is less that the other object, +1 otherwise |
boolean |
equals(Object o)
Returns true if both objects match; false otherwise. |
int |
hashCode()
Returns the object's hash code |
String |
toString()
String representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String objID
public Double rank
| Constructor Detail |
|---|
public ObjectRank()
| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objecto - another object
public int hashCode()
hashCode in class Objectpublic int compareTo(ObjectRank o)
compareTo in interface Comparable<ObjectRank>public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||