HashTagAndOccurrence (gCube Share Updates Portlet 1.7.0-3.7.0 API)
Date: 2015-05-19

org.gcube.portlets.user.shareupdates.shared

## Class HashTagAndOccurrence

- java.lang.Object
- - org.gcube.portlets.user.shareupdates.shared.HashTagAndOccurrence

- All Implemented Interfaces:
    Comparable<HashTagAndOccurrence>

      public class HashTagAndOccurrence
      extends Object
      implements Comparable<HashTagAndOccurrence>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HashTagAndOccurrence(String hashtag, Integer occurrence)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(HashTagAndOccurrence o)`
    `String` | `getHashtag()`
    `Integer` | `getOccurrence()`
    `void` | `setHashtag(String hashtag)`
    `void` | `setOccurrence(Integer occurrence)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### HashTagAndOccurrence

          public HashTagAndOccurrence(String hashtag,
                              Integer occurrence)

  - ### Method Detail

    - #### getHashtag

          public String getHashtag()

    - #### setHashtag

          public void setHashtag(String hashtag)

    - #### getOccurrence

          public Integer getOccurrence()

    - #### setOccurrence

          public void setOccurrence(Integer occurrence)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### compareTo

          public int compareTo(HashTagAndOccurrence o)

      Specified by:
        `compareTo` in interface `Comparable<HashTagAndOccurrence>`

Copyright © 2015. All Rights Reserved.