Class HashOccurrence
- java.lang.Object
-
- lumis.service.socialnetworkservices.microblog.entity.HashOccurrence
-
public class HashOccurrence extends java.lang.Object
Util class used to return Hash occurrences for Hash Trends service.- Since:
- 6.1.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.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
Constructors Constructor Description HashOccurrence(java.lang.String hashtag, int occurrences)
Class constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHashtag()
Returns the hashtag valueint
getOccurrences()
Returns the number of occurrences of a given hashtag valuejava.lang.String
toString()
-
-
-
Method Detail
-
getHashtag
public java.lang.String getHashtag()
Returns the hashtag value- Returns:
- Since:
- 6.1.0
-
getOccurrences
public int getOccurrences()
Returns the number of occurrences of a given hashtag value- Parameters:
hashtag
-- Since:
- 6.1.0
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-