public class HashOccurrence extends Object
Modifier and Type | Field and 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 and Description |
---|
HashOccurrence(String hashtag,
int occurrences)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getHashtag()
Returns the hashtag value
|
int |
getOccurrences()
Returns the number of occurrences of a given hashtag value
|
String |
toString() |
public static final Integer DEFAULT_MAX_HASH_OCCURRENCES
public HashOccurrence(String hashtag, int occurrences)
hashtag
- the hashtagoccurrences
- the ocurrencespublic String getHashtag()
public int getOccurrences()
hashtag
- LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.