Class HashOccurrence
- java.lang.Object
-
- lumis.service.socialnetworkservices.microblog.entity.HashOccurrence
-
public class HashOccurrence extends Object
Util class used to return Hash occurrences for Hash Trends service.- Since:
- 6.1.0
- Version:
- $Revision: 13752 $ $Date: 2011-10-13 14:10:51 -0300 (Thu, 13 Oct 2011) $
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Constructor Description HashOccurrence(String hashtag, int occurrences)
Class constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHashtag()
Returns the hashtag valueint
getOccurrences()
Returns the number of occurrences of a given hashtag valueString
toString()
-
-
-
Field Detail
-
DEFAULT_MAX_HASH_OCCURRENCES
public static final 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.- Since:
- 6.1.0
-
-
Constructor Detail
-
HashOccurrence
public HashOccurrence(String hashtag, int occurrences)
Class constructor- Parameters:
hashtag
- the hashtagoccurrences
- the ocurrences- Since:
- 6.1.0
-
-
Method Detail
-
getHashtag
public 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
-
-