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