public class ObjectRank extends Object implements Comparable<ObjectRank>
| Modifier and Type | Field and Description |
|---|---|
String |
objID
object ID (DocID)
|
Double |
rank
object rank
|
| Constructor and Description |
|---|
ObjectRank() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public boolean equals(Object o)
public int hashCode()
public int compareTo(ObjectRank o)
compareTo in interface Comparable<ObjectRank>Copyright © 2017. All Rights Reserved.