|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.service.socialnetworkservices.microblog.entity.HashOccurrence
public class HashOccurrence
Util class used to return Hash occurrences for Hash Trends service.
Field Summary | |
---|---|
static Integer |
DEFAULT_MAX_HASH_OCCURRENCES
Field describing the default value of maximum number of hash trends desired to display, if the custom property has not been given a value yet. |
Constructor Summary | |
---|---|
HashOccurrence(String hashtag,
int occurrences)
Class constructor |
Method Summary | |
---|---|
String |
getHashtag()
Returns the hashtag value |
int |
getOccurrences()
Returns the number of occurrences of a given hashtag value |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Integer DEFAULT_MAX_HASH_OCCURRENCES
Constructor Detail |
---|
public HashOccurrence(String hashtag, int occurrences)
hashtag
- the hashtagoccurrences
- the ocurrencesMethod Detail |
---|
public String getHashtag()
public int getOccurrences()
hashtag
- public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |