public class Tuple extends Object implements Comparable<Tuple>
Constructor and Description |
---|
Tuple(byte[] element,
Double score) |
Tuple(String element,
Double score) |
Modifier and Type | Method and Description |
---|---|
static int |
compare(Tuple t1,
Tuple t2) |
int |
compareTo(Tuple other) |
boolean |
equals(Object obj) |
byte[] |
getBinaryElement() |
String |
getElement() |
double |
getScore() |
int |
hashCode() |
String |
toString() |
public Tuple(byte[] element, Double score)
public int compareTo(Tuple other)
compareTo
in interface Comparable<Tuple>
public String getElement()
public byte[] getBinaryElement()
public double getScore()
Copyright © 2021. All rights reserved.