public class HashTagOccAndWeight extends Object implements Comparable<HashTagOccAndWeight>
| Constructor and Description |
|---|
HashTagOccAndWeight(String hashtag,
Integer occurrence) |
HashTagOccAndWeight(String hashtag,
Integer occurrence,
double weight) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(HashTagOccAndWeight o) |
String |
getHashtag() |
Integer |
getOccurrence() |
double |
getWeight() |
void |
setHashtag(String hashtag) |
void |
setOccurrence(Integer occurrence) |
void |
setWeight(double weight) |
String |
toString() |
public String getHashtag()
public void setHashtag(String hashtag)
public Integer getOccurrence()
public void setOccurrence(Integer occurrence)
public double getWeight()
public void setWeight(double weight)
public int compareTo(HashTagOccAndWeight o)
compareTo in interface Comparable<HashTagOccAndWeight>Copyright © 2016. All Rights Reserved.